commit | 01eca2842874b9a85b7cd1e1b0e5b34a5d53a21f | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Apr 05 14:17:19 2018 +0300 |
committer | Kalle Valo <kvalo@codeaurora.org> | Wed Apr 25 11:20:36 2018 +0300 |
tree | bd5fff3b53fc14e87875da3f7c35ce40d779392a | |
parent | c1003538bf6b28a4bae8e511672fa5abaabe683c [diff] |
mwifiex: pcie: tighten a check in mwifiex_pcie_process_event_ready() If "evt_len" is 1 then we try to memcpy() negative 3 bytes and it would cause memory corruption. Fixes: d930faee141b ("mwifiex: add support for Marvell pcie8766 chipset") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>