asan: segv in _bfd_archive_close_and_cleanup
authorAlan Modra <amodra@gmail.com>
Tue, 27 Sep 2022 23:52:43 +0000 (09:22 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 28 Sep 2022 00:56:45 +0000 (10:26 +0930)
commit540e53422cd8916b85d43060210251132fba8548
tree6eb6a5d6211b6f5c83c79c87deedeb0f3fab935a
parent4f56cf059ca883ca86c8f15cfc8a3e27465bf4b0
asan: segv in _bfd_archive_close_and_cleanup

Uninitialised arelt_data->parent_cache led to this segv.

* pdb.c (pdb_get_elt_at_index): Clear arelt_data.
bfd/pdb.c