diff options
author | Jiri Olsa <jolsa@kernel.org> | 2015-10-05 20:06:03 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-10-05 16:15:38 -0300 |
commit | 5ec4502d774699194952209ff3ebe65d2472e15a (patch) | |
tree | d9e65be61aa19f74e2ddb762fc4c6ecc7f074556 /tools/usb | |
parent | 84422592e58f6f1ea03688fcf92143bbc095fa88 (diff) | |
download | blackbird-op-linux-5ec4502d774699194952209ff3ebe65d2472e15a.tar.gz blackbird-op-linux-5ec4502d774699194952209ff3ebe65d2472e15a.zip |
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 <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Kan Liang <kan.liang@intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1444068369-20978-4-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/usb')
0 files changed, 0 insertions, 0 deletions