diff options
author | Alan Modra <amodra@gmail.com> | 2020-06-27 12:47:45 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-06-27 12:55:35 +0930 |
commit | cfc16775b7678e1ad8f9fce048652defd78e3787 (patch) | |
tree | c96a499b820e11d40ef063f32dd3e8243f47ff0b /binutils/dwarf.c | |
parent | aa57a9d3b6b471e665639a6d927061cbf2529e2e (diff) | |
download | gdb-cfc16775b7678e1ad8f9fce048652defd78e3787.zip gdb-cfc16775b7678e1ad8f9fce048652defd78e3787.tar.gz gdb-cfc16775b7678e1ad8f9fce048652defd78e3787.tar.bz2 |
asan: readelf: use after free in process_archive
This tidies up in cases where fuzzed thin archives hit the error return
path in setup_nested_archive.
* elfcomm.c (setup_nested_archive): Set nested_arch->file to NULL
after freeing.
(release_archive): Set fields of arch to NULL after freeing.
Diffstat (limited to 'binutils/dwarf.c')
0 files changed, 0 insertions, 0 deletions