PR24402, global buffer overflow in symtab_finalize
authorAlan Modra <amodra@gmail.com>
Mon, 1 Apr 2019 01:30:09 +0000 (12:00 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 1 Apr 2019 03:05:15 +0000 (13:35 +1030)
commitf7043f6281dd27b19393b3d18daa227acd9459c6
tree4fb86e9e1f758fb6e602844613354e61f9b223eb
parent91fc2ba707780d150309259571b12c73e92af5d0
PR24402, global buffer overflow in symtab_finalize

PR 24402
* symtab.c (symtab_finalize): Init prev_addr to one less than
first symbol address, not one more.  Correct test for symbols
with leading underscores.
gprof/ChangeLog
gprof/symtab.c