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.
This commit is contained in:
Nick Clifton
2023-03-30 11:04:53 +01:00
parent 3712e78cab
commit 8d17c53b8d
2 changed files with 35 additions and 3 deletions
+6
View File
@@ -1,3 +1,9 @@
2023-03-30 Nick Clifton <nickc@redhat.com>
PR 30284
* dwarf.c (read_and_display_attr_value): Detect and ignore
negative base values.
2023-03-23 Frederic Cambus <fred@statdns.com>
* readelf.c (get_segment_type): Handle PT_OPENBSD_MUTABLE segment