Fix an illegal memory access triggered by parsing corrupt DWARF info.
authorNick Clifton <nickc@redhat.com>
Thu, 30 Mar 2023 10:04:53 +0000 (11:04 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 30 Mar 2023 10:04:53 +0000 (11:04 +0100)
commit8d17c53b8dfc23b456e30c8f21d46dbcd55324ae
tree6d8070ed4124b11e2d1b15103e35a798a5ae013e
parent3712e78cab09017bf59105d44e2f745c5e608c5a
Fix an illegal memory access triggered by parsing corrupt DWARF info.

  PR 30284
  * dwarf.c (read_and_display_attr_value): Detect and ignore negative base values.
binutils/ChangeLog
binutils/dwarf.c