Prevent a seg-fault in gprof when parsing a corrupt core file.
authorNick Clifton <nickc@redhat.com>
Mon, 22 Aug 2016 13:16:26 +0000 (14:16 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 22 Aug 2016 13:16:26 +0000 (14:16 +0100)
commit4ca0333f073cb4d86fe9d4e64c9dfdca5deba1e0
tree2ac9a4bace8b9f16422ab3b459ab40135e364e32
parent888a7fc3665a67e20da1bce2f865b0ff9ef15842
Prevent a seg-fault in gprof when parsing a corrupt core file.

PR gprof/20499
* corefile.c (core_create_syms_from): Avoid walking off the end of
the symbol table.
gprof/ChangeLog
gprof/corefile.c