diff options
author | Alan Modra <amodra@gmail.com> | 2020-03-12 16:48:07 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-03-12 17:00:40 +1030 |
commit | 8fb879cd16a3e3d1fe93e333c4c720fd33bcc416 (patch) | |
tree | 03efd94bbbe09bef20ca21099f1697ae4bb89274 /binutils/ChangeLog | |
parent | dd69bf7a78a489783c397f2552eeb7999defcb6a (diff) | |
download | gdb-8fb879cd16a3e3d1fe93e333c4c720fd33bcc416.zip gdb-8fb879cd16a3e3d1fe93e333c4c720fd33bcc416.tar.gz gdb-8fb879cd16a3e3d1fe93e333c4c720fd33bcc416.tar.bz2 |
asan: readelf leaks
* readelf.c (process_section_headers): Don't just set
filedata->section_headers NULL, free it first. Similarly for
dynamic_symbols, dynamic_strings, dynamic_syminfo and
symtab_shndx_list. Zero associated counts too.
(process_object): Free symtab_shndx_list.
(process_file): Free various allocated filedata tables.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r-- | binutils/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 9f54fa1..51a21bf 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,12 @@ +2020-03-12 Alan Modra <amodra@gmail.com> + + * readelf.c (process_section_headers): Don't just set + filedata->section_headers NULL, free it first. Similarly for + dynamic_symbols, dynamic_strings, dynamic_syminfo and + symtab_shndx_list. Zero associated counts too. + (process_object): Free symtab_shndx_list. + (process_file): Free various allocated filedata tables. + 2020-03-11 Nick Clifton <nickc@redhat.com> PR 25611 |