diff options
author | Qing Xu <[email protected]> | 2020-01-02 10:39:27 +0800 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2020-01-27 16:34:34 +0200 |
commit | b70261a288ea4d2f4ac7cd04be08a9f0f2de4f4d (patch) | |
tree | 4b890433ba96c95b071b24e02bbb45ae1f4974b7 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 3a9b153c5591548612c3955c9600a98150c81875 (diff) |
mwifiex: Fix possible buffer overflows in mwifiex_cmd_append_vsie_tlv()
mwifiex_cmd_append_vsie_tlv() calls memcpy() without checking
the destination size may trigger a buffer overflower,
which a local user could use to cause denial of service
or the execution of arbitrary code.
Fix it by putting the length check before calling memcpy().
Signed-off-by: Qing Xu <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions