diff options
author | 2019-03-15 12:04:32 -0500 | |
---|---|---|
committer | 2019-04-04 13:13:16 +0300 | |
commit | 46953f97224d56a12ccbe9c6acaa84ca0dab2780 (patch) | |
tree | a0f27b18858b0409ee8725f02685a71160825168 /tools/perf/scripts/python | |
parent | brcmfmac: convert dev_init_lock mutex to completion (diff) | |
download | wireguard-linux-46953f97224d56a12ccbe9c6acaa84ca0dab2780.tar.xz wireguard-linux-46953f97224d56a12ccbe9c6acaa84ca0dab2780.zip |
brcmfmac: fix missing checks for kmemdup
In case kmemdup fails, the fix sets conn_info->req_ie_len and
conn_info->resp_ie_len to zero to avoid buffer overflows.
Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions