diff options
| author | gaurank kathpalia <gkathpal@codeaurora.org> | 2018-10-25 20:23:12 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-11-04 01:36:53 -0700 |
| commit | a124690bb86ca389452e54d640d0849fb28c8c3d (patch) | |
| tree | eb62bd2782ce87391306d1d791f01015f2bd2643 /tools/perf/scripts/python/syscall-counts.py | |
| parent | b129d024878f9bf05884692ca6fcbaee9a0823b7 (diff) | |
qcacld-2.0: Fix OOB read in limProcessDeauthFrame
Propagation from cld3.0 to cld2.0
In the API limProcessDeauthFrame, 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: 2338742
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
