summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVignesh Viswanathan <viswanat@codeaurora.org>2018-06-07 15:37:55 +0530
committernshrivas <nshrivas@codeaurora.org>2018-06-12 09:42:15 -0700
commit4618e05da47ba51b96149a2f97dd89387fd73fcc (patch)
tree4da9ea8eda513fe54a332ae554c574c3081db790 /tools/perf/scripts/python
parent811738d02d6c52b9ef36571515935c3c6779d7e9 (diff)
qcacld-3.0: Check for minimum frame_len for action frames
In lim_process_action_frame and lim_process_action_frame_no_session, The Rx frame pointer is directly casted to the action frame header to find the Action frame category and action ID without validating the minimum length of the frame. If the frame len is less than the action frame header len, then OOB read would occur. Check if frame_len is less than the size of action frame header len and return if true. Change-ID: Idf8ca7eeacdf57171d2850fe6317784911830aac CRs-Fixed: 2253243
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions