diff options
| author | Dedy Lansky <qca_dlansky@qca.qualcomm.com> | 2017-04-05 14:58:11 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-22 09:23:27 +0100 |
| commit | a5fc0f0e82b8982e762348db5a76ba2337792020 (patch) | |
| tree | 9ab3c85d575cd64b0c310aeeea43c74b01ca659e /scripts/stackusage | |
| parent | 51dd2600ccca3fc6108ed9bceda24bce3dd06d5d (diff) | |
wil6210: fix memory access violation in wil_memcpy_from/toio_32
[ Upstream commit 0f6edfe2bbbb59d161580cb4870fcc46f5490f85 ]
In case count is not multiple of 4, there is a read access in
wil_memcpy_toio_32() from outside src buffer boundary.
In wil_memcpy_fromio_32(), in case count is not multiple of 4, there is
a write access to outside dst io memory boundary.
Fix these issues with proper handling of the last 1 to 4 copied bytes.
Signed-off-by: Dedy Lansky <qca_dlansky@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
