aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/python
diff options
context:
space:
mode:
authorAndrzej Hajda <[email protected]>2015-10-06 09:00:17 +0000
committerArnaldo Carvalho de Melo <[email protected]>2015-10-06 21:04:59 +0000
commit38349665388fb079fb2bc8c46db9446dd976802a (patch)
tree5b212fd3e5984d2faff65bf79bebc61f97f787c8 /tools/perf/python
parentperf tools: Use hpp_dimension__add_output to register hpp columns (diff)
downloadkernel-38349665388fb079fb2bc8c46db9446dd976802a.tar.gz
kernel-38349665388fb079fb2bc8c46db9446dd976802a.zip
perf tools: Fix handling read result using a signed variable
The function can return negative value, assigning it to unsigned variable can cause memory corruption. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2038576 Signed-off-by: Andrzej Hajda <[email protected]> Cc: Bartlomiej Zolnierkiewicz <[email protected]> Cc: Marek Szyprowski <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/python')
0 files changed, 0 insertions, 0 deletions