diff options
author | Jiri Olsa <[email protected]> | 2015-10-05 20:06:03 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-10-05 16:15:38 -0300 |
commit | 5ec4502d774699194952209ff3ebe65d2472e15a (patch) | |
tree | d9e65be61aa19f74e2ddb762fc4c6ecc7f074556 /tools/perf/scripts/python | |
parent | 84422592e58f6f1ea03688fcf92143bbc095fa88 (diff) |
perf annotate: Fix sizeof_sym_hist overflow issue
The annotated_source::sizeof_sym_hist could easily overflow int size,
resulting in crash in __symbol__inc_addr_samples.
Changing its type int size_t as was probably intended from beginning
based on the initialization code in symbol__alloc_hist.
Signed-off-by: Jiri Olsa <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Don Zickus <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions