Fix: A potential bug of null pointer dereference
authorNick Clifton <nickc@redhat.com>
Mon, 9 Oct 2023 14:14:52 +0000 (15:14 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 9 Oct 2023 14:14:52 +0000 (15:14 +0100)
commite7c3fa04b6c54aae88675a7dcd9c76b322ec2171
treec056c64b08cd91da184b1014cb29cce1a10cb546
parent2f349e7d2ac51d29994db57498accd38f893f200
Fix: A potential bug of null pointer dereference

  PR 30949
  * elflink.c (elf_gc_mark_debug_section): Check for bfd_section_from_elf_index returning a NULL pointer.
bfd/ChangeLog
bfd/elflink.c