]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/ChangeLog
Fix an indirection via uninitialised memory when parsing a corrupt input file.
authorNick Clifton <nickc@redhat.com>
Mon, 10 May 2021 13:44:31 +0000 (14:44 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 10 May 2021 13:44:31 +0000 (14:44 +0100)
commit23182ac0d832477d316547ec2a758d22b43d0837
tree889767d191f7e93ed2d404e3fda29600b29da074
parent5b45e89f56db79fc22ecbb1657eff8ef39fc2c5f
Fix an indirection via uninitialised memory when parsing a corrupt input file.

PR 27839
* simple.c (simple_dummy_add_to_set): New function.
(simple_dummy_constructor): New function.
(simple_dummy_multiple_common): New function.
(bfd_simple_get_relocated_section_contents): Zero out the
callbacks structure, and then set the add_to_set, constructor and
multiple_common fields.
bfd/ChangeLog
bfd/simple.c