summaryrefslogtreecommitdiffstats
path: root/crypto/cts.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2013-11-14 19:30:41 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-11-14 20:00:31 +0100
commit48d038fcd09fa231e254965c3b69f8f640c9e62d (patch)
tree89341f480fa3e1e86fda5281b8bd18cab7590d3f /crypto/cts.c
parentperf symbols: Limit max callchain using max_stack on DWARF unwinding too (diff)
downloadlinux-48d038fcd09fa231e254965c3b69f8f640c9e62d.tar.xz
linux-48d038fcd09fa231e254965c3b69f8f640c9e62d.zip
perf ui browser: Fix segfault caused by off by one handling END key
$ perf record ls $ perf report Press 'down enter end' Result: Program received signal SIGSEGV, Segmentation fault. The UI browser, used on a argv array would access past the end of the array on SEEK_END because it wasn't using 'nr_entries - 1', fix it. Reported-by: v.karpov@samsung.com Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=59291 Link: http://lkml.kernel.org/n/tip-3g83ipasqi219ktv764xzzjs@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'crypto/cts.c')
0 files changed, 0 insertions, 0 deletions