commit | 82047212c4c0ba63608f640e0657ac7b518dba4e | [log] [tgz] |
---|---|---|
author | Dedy Lansky <dlansky@codeaurora.org> | Tue Mar 28 21:25:42 2017 +0300 |
committer | Maya Erez <merez@codeaurora.org> | Mon May 15 23:13:00 2017 +0300 |
tree | 67a75da24780fccd8cb3d53e7746a4907e530cb4 | |
parent | 1b75271ba3d5835081582f291cd5229cc3f80b35 [diff] |
wil6210: fix memory access violation in wil_memcpy_from/toio_32 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. Change-Id: Iff7853bc4803a01449ddcee996a54a0dccc1db1a Signed-off-by: Dedy Lansky <dlansky@codeaurora.org>