display_debug_frames
authorAlan Modra <amodra@gmail.com>
Sat, 15 May 2021 05:54:03 +0000 (15:24 +0930)
committerAlan Modra <amodra@gmail.com>
Sat, 15 May 2021 05:59:36 +0000 (15:29 +0930)
commit5897a389841a67317309213b95bb503d43fbf16c
tree7d5f9030f7250ec539bfa16dd6a970d93af98cef
parentc93c4a85406ebd811ec0b29f1dec882cbba56659
display_debug_frames

* dwarf.c (display_debug_frames): Delete initial_length_size.
Avoid pointer UB.  Constrain data reads to length given in header.
Sanity check cie header length.  Only skip up to next FDE on
finding augmentation data too long.
binutils/ChangeLog
binutils/dwarf.c