Fix a seg-fault in readelf when parsing corrupt HPPA unwind tables.
authorL. Simon <l.simon@samsung.com>
Tue, 21 Aug 2018 14:37:06 +0000 (15:37 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 21 Aug 2018 14:37:06 +0000 (15:37 +0100)
commit66b09c7ea97ffa4e0a175393fa7a8f240b00fbde
tree99d7fc2806ad3c2bff44379cca6f2af145f2c29e
parent9dcbfff1e02778bac6fb723640724c38001a8f0a
Fix a seg-fault in readelf when parsing corrupt HPPA unwind tables.

PR 23531
* readelf.c (hppa_process_unwind): Only dump the unwind table if
the data was successfully read in.
binutils/ChangeLog
binutils/readelf.c