Fix an illegal memorty access when running gprof over corrupt data.
authorNick Clifton <nickc@redhat.com>
Tue, 11 Apr 2023 15:22:28 +0000 (16:22 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 11 Apr 2023 15:22:28 +0000 (16:22 +0100)
commit91496180eba5150fb169c5edaff16877eefae7f9
tree613580ae857111e9f92ba325f27b0156eb09748a
parent9f1c612b7c1bb2d3035ca9416e5f09d844620e89
Fix an illegal memorty access when running gprof over corrupt data.

  PR 30324
  * symtab.c (symtab_finalize): Only change the end address if dst has been updated.
gprof/ChangeLog
gprof/symtab.c