aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMaya Erez <[email protected]>2016-11-28 13:49:01 +0200
committerKalle Valo <[email protected]>2016-12-01 13:20:31 +0200
commit1db226ffe1c2ab900cffb1d71f042e565f77775d (patch)
tree6c8ff295e6baff3146b4d740ed8bab5b9603f864 /tools/perf/scripts/python
parentbb6743f7c2ffc467002dfe24bea5dedc96c7da04 (diff)
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 <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions