summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMaya Erez <qca_merez@qca.qualcomm.com>2016-11-28 14:49:01 +0300
committerKalle Valo <kvalo@qca.qualcomm.com>2016-12-01 14:20:31 +0300
commit1db226ffe1c2ab900cffb1d71f042e565f77775d (patch)
tree6c8ff295e6baff3146b4d740ed8bab5b9603f864 /tools/perf/scripts/python
parentbb6743f7c2ffc467002dfe24bea5dedc96c7da04 (diff)
downloadlinux-1db226ffe1c2ab900cffb1d71f042e565f77775d.tar.xz
wil6210: validate wil_pmc_alloc parameters
num_descriptors and descriptor_size needs to be checked for: 1) not being negative values 2) no overflow occurs when these are multiplied together as done in wil_pmc_read. An overflow of two signed integers is undefined behavior. Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions