]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
PR 33698 and PR 33700
authorAlan Modra <amodra@gmail.com>
Mon, 8 Dec 2025 05:30:16 +0000 (16:00 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 8 Dec 2025 09:23:40 +0000 (19:53 +1030)
commitea4bc025abdba85a90e26e13f551c16a44bfa921
treee195c02b4748f11a4a88ca1f9f88f195ab5caa40
parent66a3492ce68e1ae45b2489bd9a815c39ea5d7f66
PR 33698 and PR 33700

It is possible for dump_relocations to return on an error from
slurp_rela_relocs or slurp_rel_relocs without writing to
"all_relocations".  In that case an uninitialised r_symbol is passed
to free at the end of process_got_section_contents.

PR 33698
PR 33700
* readelf.c (update_all_relocations): Zero array.  Remove
unnecessary casts.
binutils/readelf.c