Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 865c66c4 authored by Frederik Deweerdt's avatar Frederik Deweerdt Committed by Arnaldo Carvalho de Melo
Browse files

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: default avatarFrederik 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: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 2c803e52
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment