summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSourav Mohapatra <mohapatr@codeaurora.org>2018-05-31 17:09:05 +0530
committernshrivas <nshrivas@codeaurora.org>2018-06-08 09:33:11 -0700
commitc6ce45b884a0d3140721f287240e85b59cb1336f (patch)
tree4d580afe94cdde7ddd7e346c9921777e11e6b40d /tools/perf/scripts/python
parent41a5a9e560f453431a8524bf0c080c8d056eeaa8 (diff)
qcacld-3.0: Check buff len alloc in __iw_set_packet_filter_params
In __iw_set_packet_filter_params(), a user controlled length value, priv_data.length, is used to allocated a buffer. This buffer is then cast to a struct pointer of struct pkt_filter_cfg type without ensuring the buffer is of proper length. Add a sanity check on priv_data.length to ensure that the command being issued has proper parameters. Change-Id: Ia871e35ef938ca889fb6b1609a0c881d76f29e4b CRs-Fixed: 2250775
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions