aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorAdrian Hunter <[email protected]>2013-08-27 08:23:04 +0000
committerArnaldo Carvalho de Melo <[email protected]>2013-08-29 18:10:02 +0000
commit03b6ea9b91e0914caa847a1ade759af549555298 (patch)
treec06dc11a4e6d2f95c51dd9f1160d392cbef45a82 /tools/perf/builtin-script.c
parentperf tools: change machine__findnew_thread() to set thread pid (diff)
downloadkernel-03b6ea9b91e0914caa847a1ade759af549555298.tar.gz
kernel-03b6ea9b91e0914caa847a1ade759af549555298.zip
perf evsel: Tidy up sample parsing overflow checking
The size of data retrieved from a sample event must be validated to ensure it does not go past the end of the event. That was being done sporadically and without considering integer overflows. Signed-off-by: Adrian Hunter <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: David Ahern <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions