aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2020-05-18 15:52:03 +0100
committerNick Clifton <nickc@redhat.com>2020-05-18 15:52:03 +0100
commited02cdb5b78d17429f7e873acc49d94a5a0223d8 (patch)
treeecfc3cc85c5cda5d67028af4d45a591443a9a439 /bfd/ChangeLog
parent1d72769534bde2c366f670763105f714e0124d01 (diff)
downloadfsf-binutils-gdb-ed02cdb5b78d17429f7e873acc49d94a5a0223d8.zip
fsf-binutils-gdb-ed02cdb5b78d17429f7e873acc49d94a5a0223d8.tar.gz
fsf-binutils-gdb-ed02cdb5b78d17429f7e873acc49d94a5a0223d8.tar.bz2
Fix a use-after-free bug in the BFD library when scanning a corrupt ELF file.
PR 26005 * elf.c (bfd_section_from_shdr): Use bfd_malloc to allocate memory for the sections_being_created array.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 0e5dec0..6b3c94b 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2020-05-18 Nick Clifton <nickc@redhat.com>
+
+ PR 26005
+ * elf.c (bfd_section_from_shdr): Use bfd_malloc to allocate memory
+ for the sections_being_created array.
+
2020-05-18 Alan Modra <amodra@gmail.com>
* ecoff.c (ecoff_slurp_reloc_table): Malloc external_relocs so