path: root/tools/perf/builtin-inject.c
diff options
authorAdrian Hunter <>2013-08-27 11:23:04 +0300
committerArnaldo Carvalho de Melo <>2013-08-29 15:10:02 -0300
commit03b6ea9b91e0914caa847a1ade759af549555298 (patch)
treec06dc11a4e6d2f95c51dd9f1160d392cbef45a82 /tools/perf/builtin-inject.c
parent314add6b1f045b59ca39683bd0cbc5310cd203f2 (diff)
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 <> Acked-by: Jiri Olsa <> Cc: David Ahern <> Cc: Frederic Weisbecker <> Cc: Ingo Molnar <> Cc: Jiri Olsa <> Cc: Mike Galbraith <> Cc: Namhyung Kim <> Cc: Paul Mackerras <> Cc: Peter Zijlstra <> Cc: Stephane Eranian <> Link: Signed-off-by: Arnaldo Carvalho de Melo <>
Diffstat (limited to 'tools/perf/builtin-inject.c')
0 files changed, 0 insertions, 0 deletions