diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2011-05-21 14:08:15 -0400 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2011-05-21 21:38:48 -0400 |
commit | 98e1da905cbe64bb023a165c7c01eef5e800609e (patch) | |
tree | c77e7a64263ecb8fc9f7971a44dd085f14f039f6 /tools/perf/builtin-top.c | |
parent | a285412479b6d5af3e48273a92ec2f1987df8cd1 (diff) |
perf tools: Robustify dynamic sample content fetch
Ensure the size of the dynamic fields such as callchains
or raw events don't overlap the whole event boundaries.
This prevents from dereferencing junk if the given size of
the callchain goes too eager.
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Stephane Eranian <eranian@google.com>
Diffstat (limited to 'tools/perf/builtin-top.c')
0 files changed, 0 insertions, 0 deletions