diff options
author | Nick Clifton <nickc@redhat.com> | 2021-05-10 14:44:31 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2021-05-10 14:44:31 +0100 |
commit | 23182ac0d832477d316547ec2a758d22b43d0837 (patch) | |
tree | 889767d191f7e93ed2d404e3fda29600b29da074 /bfd/ChangeLog | |
parent | 5b45e89f56db79fc22ecbb1657eff8ef39fc2c5f (diff) | |
download | binutils-23182ac0d832477d316547ec2a758d22b43d0837.zip binutils-23182ac0d832477d316547ec2a758d22b43d0837.tar.gz binutils-23182ac0d832477d316547ec2a758d22b43d0837.tar.bz2 |
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.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 39395fa..59cba9a 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,13 @@ +2021-05-10 Nick Clifton <nickc@redhat.com> + + 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. + 2021-05-10 Dimitar Dimitrov <dimitar@dinux.eu> * elf32-pru.c (elf_backend_can_gc_sections): Define as 1. |