aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAbhinav Kumar <abhikuma@codeaurora.org>2021-01-25 16:16:39 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2021-02-28 11:43:45 -0800
commit4f517694d6a0a9777cbe8318d23f6fc343388dd3 (patch)
tree61b32b668c2f422e6c1b3d5bb5ea3fd85c2777d3 /tools/perf/scripts/python/stackcollapse.py
parentab1884728f3c23d9cd92d54959278d956a3be46a (diff)
qcacld-3.0: Possible OOB read when parsing FT IE
FTIE buffer carries multiple FT subelements (like R1KH-ID, R0KH-ID, GTK, IGTK, etc). Total FTIE buffer len = Number of FT subelements * (Subelement ID (1 bytes) + lenght (1 bytes) + data length) Currently, Host checks only the minimum length for FTIE buffer while filling each FT subelements. This leads to OOB if the remaining length of FTIE length buffer less than the length of an FT subelement. Before filling each subelement into FTIE buffer, add a check to validate subelement length against remaining FTIE length Change-Id: I5d6f4a59eef591d3a2da9f2403738d1fdd1a88b2 CRs-Fixed: 2857084
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions