aboutsummaryrefslogtreecommitdiff
path: root/gdb/xml-support.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-06-11 12:49:02 +0930
committerAlan Modra <amodra@gmail.com>2021-06-11 14:23:18 +0930
commit066f8fbede55e781c6241c445e0940f8368d0ef9 (patch)
treee2141dd7c4da7a99e434bde0d122ada74d99487f /gdb/xml-support.c
parent4de91c10cdd9f5818599578667802320df305d72 (diff)
downloadgdb-066f8fbede55e781c6241c445e0940f8368d0ef9.zip
gdb-066f8fbede55e781c6241c445e0940f8368d0ef9.tar.gz
gdb-066f8fbede55e781c6241c445e0940f8368d0ef9.tar.bz2
readelf info leaks from one object to the next
A number of filedata entries were not cleared. Make sure they are all cleared out, except the ones needed for archive handling. * readelf.c (struct filedata): Move archive_file_offset and archive_file_size earlier. (free_filedata): Clear using memset.
Diffstat (limited to 'gdb/xml-support.c')
0 files changed, 0 insertions, 0 deletions