Fix a heap use after free memory access fault when displaying error messages about...
authorNick Clifton <nickc@redhat.com>
Wed, 9 Jan 2019 12:25:16 +0000 (12:25 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 9 Jan 2019 12:25:16 +0000 (12:25 +0000)
commit28e817cc440bce73691c03e01860089a0954a837
tree6803d6e4f11de4f46160b68605f97c3cf0c7cbd2
parentd820d0c37beda1c29ff50bb1f2ebc1d23114d735
Fix a heap use after free memory access fault when displaying error messages about malformed archives.

PR 14049
* readelf.c (process_archive): Use arch.file_name in error
messages until the qualified name is available.
binutils/ChangeLog
binutils/readelf.c