]> git.baikalelectronics.ru Git - kernel.git/commit
perf symbols: Fix array sizes for binary types arrays
authorJiri Olsa <jolsa@redhat.com>
Wed, 1 Aug 2012 12:47:57 +0000 (14:47 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 1 Aug 2012 21:42:22 +0000 (18:42 -0300)
commitaa0777cecbc4fc166940146af544413faeab6327
tree31143c7f82b00d23b641a92015db0d6ae015a8ce
parent7cb74a611286dba7a46efccb2ff0d06517a3d51a
perf symbols: Fix array sizes for binary types arrays

Following commit introduced wrong array boundaries, that could lead to
SIGSEGV.

  perf symbols: Factor DSO symtab types to generic binary types
  commit cc91df89d0bdea8f3ec029592a2ad591a97a98f6
  Author: Jiri Olsa <jolsa@redhat.com>

Fixing to use proper array size.

Reported-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Markus Trippelsdorf <markus@trippelsdorf.de>
Link: http://lkml.kernel.org/r/1343825277-10517-1-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/symbol.c