aboutsummaryrefslogtreecommitdiff
path: root/binutils/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-04-20 11:01:47 +0930
committerAlan Modra <amodra@gmail.com>2020-04-20 11:09:58 +0930
commita5e0be5cb29bcbcfee6f1ead2daed9889a2a6ac6 (patch)
tree2cf993358a3de2429a164bd3a037cb75f8cabcdb /binutils/ChangeLog
parent8ff66993e0b57b20067d7a1b6c72a72f4cada2cf (diff)
downloadgdb-a5e0be5cb29bcbcfee6f1ead2daed9889a2a6ac6.zip
gdb-a5e0be5cb29bcbcfee6f1ead2daed9889a2a6ac6.tar.gz
gdb-a5e0be5cb29bcbcfee6f1ead2daed9889a2a6ac6.tar.bz2
readelf: segfault at readelf.c:12227
This is another one where not cleaning up sufficiently after processing one file can lead to errors when processing the next file. We have ngnuchains non-zero but gnuchains NULL in the following: off < ngnuchains && (gnuchains[off] & 1) == 0 * readelf.c (process_symbol_table): Clear ngnuchains, ngnubuckets and nbuckets.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r--binutils/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 86eb578..6280eb7 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,5 +1,10 @@
2020-04-20 Alan Modra <amodra@gmail.com>
+ * readelf.c (process_symbol_table): Clear ngnuchains, ngnubuckets
+ and nbuckets.
+
+2020-04-20 Alan Modra <amodra@gmail.com>
+
* readelf.c (process_section_headers): Free dynamic symbols etc.
earlier.