summaryrefslogtreecommitdiffstats
path: root/lib/extable.c
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2013-08-27 10:23:04 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-08-29 20:10:02 +0200
commit03b6ea9b91e0914caa847a1ade759af549555298 (patch)
treec06dc11a4e6d2f95c51dd9f1160d392cbef45a82 /lib/extable.c
parentperf tools: change machine__findnew_thread() to set thread pid (diff)
downloadlinux-03b6ea9b91e0914caa847a1ade759af549555298.tar.xz
linux-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 <adrian.hunter@intel.com> Acked-by: Jiri Olsa <jolsa@redhat.com> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Namhyung Kim <namhyung@gmail.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/1377591794-30553-3-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'lib/extable.c')
0 files changed, 0 insertions, 0 deletions