aboutsummaryrefslogtreecommitdiff
path: root/binutils/ChangeLog
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2017-04-03 12:14:06 +0100
committerNick Clifton <nickc@redhat.com>2017-04-03 12:14:06 +0100
commit82156ab704b08b124d319c0decdbd48b3ca2dac5 (patch)
tree942d5f78b2d3693e478cee3c603fb8332c4902b1 /binutils/ChangeLog
parent75ec1fdbb797a389e4fe4aaf2e15358a070dcc19 (diff)
downloadgdb-82156ab704b08b124d319c0decdbd48b3ca2dac5.zip
gdb-82156ab704b08b124d319c0decdbd48b3ca2dac5.tar.gz
gdb-82156ab704b08b124d319c0decdbd48b3ca2dac5.tar.bz2
readelf: Fix overlarge memory allocation when reading a binary with an excessive number of program headers.
PR binutils/21345 * readelf.c (get_program_headers): Check for there being too many program headers before attempting to allocate space for them.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r--binutils/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 438ea7f..5d81b35 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,5 +1,11 @@
2017-04-03 Nick Clifton <nickc@redhat.com>
+ PR binutils/21345
+ * readelf.c (get_program_headers): Check for there being too many
+ program headers before attempting to allocate space for them.
+
+2017-04-03 Nick Clifton <nickc@redhat.com>
+
PR binutils/21344
* readelf.c (process_mips_specific): Check for an out of range GOT
entry before reading the module pointer.