summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorgaurank kathpalia <gkathpal@codeaurora.org>2018-06-07 12:31:15 +0530
committernshrivas <nshrivas@codeaurora.org>2018-06-12 08:12:10 -0700
commit494be78b46f18fac3af8e9081f1c26b522072daa (patch)
tree48d5d25e96b2632734c3a53f81628144bb086488 /tools/perf/scripts/python
parent1c54caaf87f6d68fda7d91745440302c8e8b5e43 (diff)
qcacld-3.0: Fix OOB read in lim_process_deauth_frame
In the API lim_process_deauth_frame, the reason-code is fetched from the payload, and it may happen that the payload received is empty, and the MPDU just contains the header, so the driver may access the memory not allocated to the frame, thus resulting in a OOB read. Fix is to have a min length check of 16 bits for the reason code before accessing it. Change-Id: I7e7a435ba049356c13fb10240f4abb9bf6219af4 CRs-Fixed: 2249768
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions