summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorgaurank kathpalia <gkathpal@codeaurora.org>2018-05-03 15:16:12 +0530
committernshrivas <nshrivas@codeaurora.org>2018-05-14 22:52:50 -0700
commitcd953e89137073d9f98728259350081326629335 (patch)
tree6d41ede1b0197ce246d4099340784e8296965d94 /tools/perf/scripts/python
parent5266565fc21a46bc09b267da8958c498b9d3a725 (diff)
qcacld-3.0: Allocate extra 100 bytes to add missing IE info
In the API sir_validate_and_rectify_ies, the driver rectifies the RSN IE, if the AP hasnt filled the RSN capabilities in the beacon/probe response, but has filled the length of IE as extra 2 bytes meant for the RSN capabilities.The driver tries to repair these kind of frames and fills the last 2 bytes of RSN IE with default RSN capabilities, to prevent the failure of unpacking the IEs in unpack-core. But, the driver may write these default RSN capabilities into some other allocated memory, because the allocated memory is only the frame length, which would result in OOB write. Fix is to allocate some reserve bytes in the frame for these type of issues. Change-Id: I46c7301f3e40f84d2c68ec9ba38702baa6926306 CRs-Fixed: 2232542
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions