aboutsummaryrefslogtreecommitdiff
path: root/binutils/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-07-26 12:58:52 +0930
committerAlan Modra <amodra@gmail.com>2019-07-26 13:05:16 +0930
commit8e2e3c6c346c1c8142e714715e5a86b32f7e31ea (patch)
treef37c408660f255113544c75cda01fd0d8dc4580d /binutils/ChangeLog
parent6dd17ae0f9b0d9fc230e75ce345da9793498554d (diff)
downloadgdb-8e2e3c6c346c1c8142e714715e5a86b32f7e31ea.zip
gdb-8e2e3c6c346c1c8142e714715e5a86b32f7e31ea.tar.gz
gdb-8e2e3c6c346c1c8142e714715e5a86b32f7e31ea.tar.bz2
PR24798, buffer overflow in process_cu_tu_index
PR 24798 * dwarf.c (process_cu_tu_index): Avoid integer overflow on 64-bit systems by casting ncols and nslots expressions to size_t. Display number of columns and slots before giving up due to buffer overflow. Use %u to display unsigned ints. Perform more pointer wrap tests.
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 bbb5570..9195540 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,11 @@
+2019-07-26 Alan Modra <amodra@gmail.com>
+
+ PR 24798
+ * dwarf.c (process_cu_tu_index): Avoid integer overflow on 64-bit
+ systems by casting ncols and nslots expressions to size_t. Display
+ number of columns and slots before giving up due to buffer overflow.
+ Use %u to display unsigned ints. Perform more pointer wrap tests.
+
2019-07-25 Tom Tromey <tromey@adacore.com>
PR 24809