summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorgaurank kathpalia <gkathpal@codeaurora.org>2018-05-10 15:37:35 +0530
committernshrivas <nshrivas@codeaurora.org>2018-05-15 14:14:14 -0700
commitf4be78136e4cba4ecb0b91730173f6d40192c5e6 (patch)
tree1d356327f3dfec3cdb86a56654a652c6552aa666 /tools/perf/scripts/python
parent1807364fd32d26ca001fc5328656621f0844e953 (diff)
qcacld-3.0: Add length check in wma_process_rmf_frame
The driver verifies the replay_attack in protected management frames in the API wma_is_ccmp_pn_replay_attack The API expects a CCMP header pointer, but it may happen that the size of the total frame is less than the size of ieee frame + the CCMP header length. In that case the CCMP pointer will point to some memory location not allocated to the frame, which will result to out of bound access. Fix is to add a length check to memory allocated to wbuf in wma_process_rmf_frame Change-Id: I351fa671cb8728843c8843c27dd91bcb201abb42 CRs-Fixed: 2230976
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions