aboutsummaryrefslogtreecommitdiff
path: root/binutils/ChangeLog
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2015-01-27 17:32:23 +0000
committerNick Clifton <nickc@redhat.com>2015-01-27 17:32:23 +0000
commit0897ec15810bca3420ea7b8a91e491ed45780202 (patch)
treedd7cc451877a5826e06000613f5d8bbf6b46e85e /binutils/ChangeLog
parent877a8638ba563c667eb5358240334c473d0573a1 (diff)
downloadgdb-0897ec15810bca3420ea7b8a91e491ed45780202.zip
gdb-0897ec15810bca3420ea7b8a91e491ed45780202.tar.gz
gdb-0897ec15810bca3420ea7b8a91e491ed45780202.tar.bz2
Fixes for invalid memory accesses triggered by running windres on corrupt binaries.
PR binutils/17512 * rcparse.y: Add checks to avoid integer divide by zero. * rescoff.c (read_coff_rsrc): Add check on the size of the resource section. (read_coff_res_dir): Add check on the nesting level. Check for resource names overrunning the buffer. * resrc.c (write_rc_messagetable): Update formatting. Add check of 'elen' being zero.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r--binutils/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 53ec072..924f35c 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -7,6 +7,14 @@
* addr2line.c (slurp_symtab): If the symcount is zero, free the
symbol table pointer.
+ * rcparse.y: Add checks to avoid integer divide by zero.
+ * rescoff.c (read_coff_rsrc): Add check on the size of the
+ resource section.
+ (read_coff_res_dir): Add check on the nesting level.
+ Check for resource names overrunning the buffer.
+ * resrc.c (write_rc_messagetable): Update formatting.
+ Add check of 'elen' being zero.
+
2015-01-23 Nick Clifton <nickc@redhat.com>
* nlmconv.c (powerpc_mangle_relocs): Fix build errors introduced