diff options
author | Tim Gardner <[email protected]> | 2013-02-07 13:28:09 -0700 |
---|---|---|
committer | John W. Linville <[email protected]> | 2013-02-08 14:51:35 -0500 |
commit | 0d61c9177cb9bf48dcec9c3d9205a309085d4318 (patch) | |
tree | 1a15258f77fb66d44ed48c8992cb521c0279abfc /tools/perf/scripts/python/sctop.py | |
parent | 708eb54f20334470ad92042547db0fef0cd60462 (diff) |
brcmsmac: avoid 512 byte stack variable
Dynamically allocate the probe response template which
avoids potential stack corruption. Observed with smatch:
drivers/net/wireless/brcm80211/brcmsmac/main.c:7412 brcms_c_bss_update_probe_resp()
warn: 'prb_resp' puts 512 bytes on stack
Cc: Brett Rudley <[email protected]>
Cc: Arend van Spriel <[email protected]>
Cc: "Franky (Zhenhui) Lin" <[email protected]>
Cc: Hante Meuleman <[email protected]>
Cc: "John W. Linville" <[email protected]>
Cc: Seth Forshee <[email protected]>
Cc: Pieter-Paul Giesberts <[email protected]>
Cc: Hauke Mehrtens <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Tim Gardner <[email protected]>
Acked-by: Arend van Spriel <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions