]> 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)
commitb151586b3e4724b128bee66f8142eb0c54e9c9ef
tree31143c7f82b00d23b641a92015db0d6ae015a8ce
parent27fcc3ffcee398227080fa9eda7b23fe9144fc8f
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 aa90b25d4705656c4f5cdc2a5df99d5618a76bc0
  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