aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2019-06-28 15:30:43 +0100
committerNick Clifton <nickc@redhat.com>2019-06-28 15:30:43 +0100
commit7e56c51c7932cfdb178e9457011d09d53e98937b (patch)
treef2396eec4ec8a9ce289c71fdc5ef2c745798dd59 /bfd/ChangeLog
parent781152ec18f56726c750cc0812a740396e4ec820 (diff)
downloadgdb-7e56c51c7932cfdb178e9457011d09d53e98937b.zip
gdb-7e56c51c7932cfdb178e9457011d09d53e98937b.tar.gz
gdb-7e56c51c7932cfdb178e9457011d09d53e98937b.tar.bz2
Prevent attempts to allocate excessive amounts of memory when parsing corrupt ELF files.
PR 24708 * elf.c (_bfd_elf_slurp_version_tables): Check for an excessively large version reference section. * compress.c (bfd_get_full_section_contents): Check for an uncompressed section whose size is larger than the file size.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 04bdb78..31d4eee 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,11 @@
+2019-06-28 Nick Clifton <nickc@redhat.com>
+
+ PR 24708
+ * elf.c (_bfd_elf_slurp_version_tables): Check for an excessively
+ large version reference section.
+ * compress.c (bfd_get_full_section_contents): Check for an
+ uncompressed section whose size is larger than the file size.
+
2019-06-28 Alan Modra <amodra@gmail.com>
* format.c (bfd_check_format_matches): Don't match plugin target