summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHarprit Chhabada <harpritchhabada@codeaurora.org>2019-04-23 16:56:21 -0700
committernshrivas <nshrivas@codeaurora.org>2019-05-15 20:58:32 -0700
commitbe468730d315e973e9936da275b06600d0ce276c (patch)
treef24a40c45a8c06a1befd004931df59dde9e42549 /tools/perf/scripts/python
parent533b55db25281fde51eb29a2ebf43e371260279b (diff)
qcacld-3.0: Fix OOB in wma_stats_event_handler
In wma_stats_event_handler several fields lengths are added together to check against param_buf->num_data (the overall length of the buffer). The problem is that num_pdev_stats, num_vdev_stats and num_peer_stats represent the number of structures of each type rather than the total number of bytes. Therefore update the logic to compare the expected size of the entire payload to the actual payload. Change-Id: I94af679480e62a61d4b25a1f370b2f199985f874 CRs-Fixed: 2429010
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions