aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2018-04-23 12:52:42 +0100
committerNick Clifton <nickc@redhat.com>2018-04-23 12:52:42 +0100
commitbf82069dce1b1a88560e5d7320342c78372b627e (patch)
tree4abcb9d2e34f69b7231f586c5d6e82e9a75b4d9c /bfd/ChangeLog
parent5a6312e8c015d4a98020038f3b6e144db230f3ca (diff)
downloadgdb-bf82069dce1b1a88560e5d7320342c78372b627e.zip
gdb-bf82069dce1b1a88560e5d7320342c78372b627e.tar.gz
gdb-bf82069dce1b1a88560e5d7320342c78372b627e.tar.bz2
Prevent an illegal memory access in gprof by ensuring that string tables for aout format files are always zero-terminated.
PR 23056 * aoutx.h (aout_get_external_symbols): Allocate an extra byte at the end of the string table, and zero it.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 7cc35f3..e8b748b 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2018-04-23 Nick Clifton <nickc@redhat.com>
+
+ PR 23056
+ * aoutx.h (aout_get_external_symbols): Allocate an extra byte at
+ the end of the string table, and zero it.
+
2018-04-23 Alan Modra <amodra@gmail.com>
* elf-linux-core.h (swap_linux_prpsinfo32_ugid32_out): Disable
@@ -7,6 +13,12 @@
(swap_linux_prpsinfo64_ugid16_out): Likewise.
* elf.c (elfcore_write_prpsinfo): Likewise.
+2018-04-23 Nick Clifton <nickc@redhat.com>
+
+ PR 23056
+ * aoutx.h (aout_get_external_symbols): Allocate an extra byte at
+ the end of the string table, and zero it.
+
2018-04-20 Alan Modra <amodra@gmail.com>
PR 22978