Sanity check read_section_stabs_debugging_info
authorAlan Modra <amodra@gmail.com>
Mon, 13 Mar 2023 23:41:58 +0000 (10:11 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 14 Mar 2023 01:49:09 +0000 (12:19 +1030)
commit746598e07f7b666872bc31471de1b72de8a69c2b
tree7b2828b2a7bf0da59ddbbeed57c2772dd51dbd10
parentf049c18961236c3bf91409a060c1c9a709b96b44
Sanity check read_section_stabs_debugging_info

* rddbg.c (read_section_stabs_debugging_info): Exclude sections
without contents.  Use bfd_malloc_and_get_section.  Don't alloc
one extra for strings.
binutils/rddbg.c