diff options
author | Bing Zhao <[email protected]> | 2013-04-12 10:34:17 -0700 |
---|---|---|
committer | John W. Linville <[email protected]> | 2013-04-22 15:38:35 -0400 |
commit | d837a2ae40fd37bcbb5a42126e3d89c68c90fccc (patch) | |
tree | d952e47adcbfbb9c7797b5593149df161de3f4e6 /tools/perf/scripts/python | |
parent | 8bc77a4d2c8ca3c07d74465a3738bf60a4e5de41 (diff) |
mwifiex: fix use-after-free in beacon_ie processing
beacon_ie buffer is allocated in mwifiex_fill_new_bss_desc()
and the buffer pointer is saved in bss_desc->beacon_buf.
beacon_ie is freed before the function returns. However,
bss_desc->beacon_buf is still being accessed afterwards.
Fix it by freeing beacon_ie (bss_desc->beacon_buf) in
caller's scope.
Reviewed-by: Doug Anderson <[email protected]>
Reviewed-by: Paul Stewart <[email protected]>
Signed-off-by: Bing Zhao <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions