Fix NULL pointer indirection when parsing corrupt DWARF data.
authorNick Clifton <nickc@redhat.com>
Mon, 27 Jun 2022 12:30:35 +0000 (13:30 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 27 Jun 2022 12:30:35 +0000 (13:30 +0100)
commite98e7d9a70dcc987bff0e925f20b78cd4a2979ed
treeba3164a6606fadcfd15176c21ab64d2dc14a3964
parent2a4fc266dbf77ed7ab83da16468e9ba627b8bc2d
Fix NULL pointer indirection when parsing corrupt DWARF data.

PR 29290
* dwarf.c (read_and_display_attr_value): Check that debug_info_p
is set before dereferencing it.
binutils/ChangeLog
binutils/dwarf.c