Files
linux/tools/perf/util
Cody Schafer 8696329b7b perf annotate: Prevent overflow in size calculation
A large enough symbol size causes an overflow in the size parameter to
the histogram allocation, leading to a segfault in
symbol__inc_addr_samples later on when this histogram is accessed.

In the case of being called via perf-report, this returns back and
gracefully ignores the sample, eventually ignoring the chained return
value of perf_session_deliver_event in flush_sample_queue.

Signed-off-by: Cody Schafer <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Sukadev Bhattiprolu <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
2012-07-25 13:06:42 -03:00
..
…
2011-02-16 13:30:48 +01:00
…
2012-02-13 23:17:40 -02:00
2012-06-19 13:06:22 -03:00
…
2012-06-19 13:06:18 -03:00
…
2010-08-21 11:22:47 -03:00
2012-06-29 13:31:27 -03:00
2012-06-18 12:13:26 +02:00
2010-05-14 20:05:21 -03:00
2012-01-24 19:47:37 -02:00
2012-06-19 13:06:18 -03:00
2012-06-19 13:06:18 -03:00
2012-06-19 13:06:19 -03:00
…
…
2012-07-25 11:33:04 -03:00
2012-07-25 11:33:17 -03:00
2012-05-17 12:32:54 -03:00
2012-05-02 15:20:30 -03:00
2012-06-19 13:06:19 -03:00
…