PR27860, Segmentation fault on readelf -w
authorAlan Modra <amodra@gmail.com>
Thu, 13 May 2021 12:52:45 +0000 (22:22 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 13 May 2021 13:19:17 +0000 (22:49 +0930)
commitd21f875d6768aa1e5b8e5442c7e60b03307b1949
treebe7f0621c1eb5b5816fd669e03aac29d3abbb9ef
parent0746f49b1dd44ce17b21468b9f8d9715e116a991
PR27860, Segmentation fault on readelf -w

Well it didn't take long for the SAFE_BYTE_GET assert to trigger.

PR 27860
* dwarf.c (display_debug_frames): Sanity check cie_off before
attempting to read cie.
binutils/ChangeLog
binutils/dwarf.c