addr2line out of memory on fuzzed file
authorAlan Modra <amodra@gmail.com>
Wed, 4 Jan 2023 11:09:54 +0000 (21:39 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 4 Jan 2023 13:22:26 +0000 (23:52 +1030)
commitefff45b40a10ab0b3bdc16c3f20cf4af3f6dea88
tree3861e6700970db7d9e2971f235af6018efaab7d8
parentb77a357567b8640003a7301b1bd50bd81fd7a26a
addr2line out of memory on fuzzed file

Another case of fuzzers finding the section size sanity checks are
avoided with SHT_NOBITS sections.

* dwarf2.c (read_section): Check that the DWARF section being
read has contents.
bfd/dwarf2.c