diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-04-05 13:17:19 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-04-25 10:20:36 +0200 |
commit | 01eca2842874b9a85b7cd1e1b0e5b34a5d53a21f (patch) | |
tree | bd5fff3b53fc14e87875da3f7c35ce40d779392a /drivers/tty/tty_baudrate.c | |
parent | mwifiex: uap: support cfg80211 ignore_broadcast_ssid=2 (diff) | |
download | linux-01eca2842874b9a85b7cd1e1b0e5b34a5d53a21f.tar.xz linux-01eca2842874b9a85b7cd1e1b0e5b34a5d53a21f.zip |
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>
Diffstat (limited to 'drivers/tty/tty_baudrate.c')
0 files changed, 0 insertions, 0 deletions