diff options
author | 2013-01-14 14:47:17 -0500 | |
---|---|---|
committer | 2013-01-24 16:40:36 -0300 | |
commit | 865c66c4183aab1d12522ca3ad3a3339d2437e5c (patch) | |
tree | 88c0059a6164b488b9d9d598faac8612fa925363 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | perf tools: Move get_term_dimensions from top to util.c (diff) | |
download | wireguard-linux-865c66c4183aab1d12522ca3ad3a3339d2437e5c.tar.xz wireguard-linux-865c66c4183aab1d12522ca3ad3a3339d2437e5c.zip |
perf annotate browser: Fix segfault when drawing out-of-bounds jumps
Factorize jump sanity checks from mark_jump_targets() and
draw_current_jump() in an is_valid_jump() function.
This fixes a segfault when moving the cursor over an invalid jump.
Signed-off-by: Frederik Deweerdt <frederik.deweerdt@xprog.eu>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/20130114194716.GA4973@ks398093.ip-192-95-24.net
[ committer note: Make it a disasm_line method ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions