aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-02-24 11:52:03 +1030
committerAlan Modra <amodra@gmail.com>2020-02-24 12:35:05 +1030
commitc893ce360a81bed57b9256f9d065541c2f8175c0 (patch)
tree043d6f5c61b8f144ffc063c8b68a6f343b2f461f /bfd/ChangeLog
parent23c4ec6f0279d424899dbdab26d05426aebeba80 (diff)
downloadgdb-c893ce360a81bed57b9256f9d065541c2f8175c0.zip
gdb-c893ce360a81bed57b9256f9d065541c2f8175c0.tar.gz
gdb-c893ce360a81bed57b9256f9d065541c2f8175c0.tar.bz2
vms buffer overflows and large memory allocation
* vms-lib.c (struct carsym_mem): Add limit. (vms_add_index): Heed limit. (vms_traverse_index): Catch buffer overflows. Remove outdated fixme. (vms_lib_read_index): Set up limit. Catch 32-bit overflow. Always return actual number read. (_bfd_vms_lib_archive_p): Catch buffer overflows. Replace assertion with error exit.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 31e7c69..58b560d 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,13 @@
+2020-02-24 Alan Modra <amodra@gmail.com>
+
+ * vms-lib.c (struct carsym_mem): Add limit.
+ (vms_add_index): Heed limit.
+ (vms_traverse_index): Catch buffer overflows. Remove outdated fixme.
+ (vms_lib_read_index): Set up limit. Catch 32-bit overflow.
+ Always return actual number read.
+ (_bfd_vms_lib_archive_p): Catch buffer overflows. Replace
+ assertion with error exit.
+
2020-02-22 Alan Modra <amodra@gmail.com>
PR 25585