diff options
author | Alan Modra <amodra@gmail.com> | 2020-04-19 17:05:02 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-04-20 08:15:05 +0930 |
commit | ceb9bf11b99f4a1d4a321e6e64c01f34a185cd18 (patch) | |
tree | a68e8ecc157f39ab442a3c25a968321448783de7 /binutils/ChangeLog | |
parent | 2efec98b28bbc89fc8e062709c7e28cc8a56ee40 (diff) | |
download | gdb-ceb9bf11b99f4a1d4a321e6e64c01f34a185cd18.zip gdb-ceb9bf11b99f4a1d4a321e6e64c01f34a185cd18.tar.gz gdb-ceb9bf11b99f4a1d4a321e6e64c01f34a185cd18.tar.bz2 |
readelf memory leaks
This fixes two leaks found in the new code supporting display of
dynamic symbols retrieved via dynamic tags.
* readelf.c (get_num_dynamic_syms): Formatting. Don't return
on error without freeing.
(process_dynamic_section): Don't recreate dynamic symbols from
dynamic tag info when the dynamic symbols have already been
read via section headers.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r-- | binutils/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 1b6a2f9..92d9b29 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,11 @@ +2020-04-20 Alan Modra <amodra@gmail.com> + + * readelf.c (get_num_dynamic_syms): Formatting. Don't return + on error without freeing. + (process_dynamic_section): Don't recreate dynamic symbols from + dynamic tag info when the dynamic symbols have already been + read via section headers. + 2020-04-17 Fredrik Strupe <fredrik@strupe.net> * testsuite/binutils-all/arm/vdup-cond.d: New test for testing that |