PR 29988
* dwarf2.c (read_indexed_address): Fix check for an out of range
offset.
+2023-01-11 Nick Clifton <nickc@redhat.com>
+
+ PR 29988
+ * dwarf2.c (read_indexed_address): Fix check for an out of range
+ offset.
+
2023-01-06 Nick Clifton <nickc@redhat.com>
* po/ru.po: Updated Russian translation.
offset += unit->dwarf_addr_offset;
if (offset < unit->dwarf_addr_offset
|| offset > file->dwarf_addr_size
- || file->dwarf_addr_size - offset < unit->offset_size)
+ || file->dwarf_addr_size - offset < unit->addr_size)
return 0;
info_ptr = file->dwarf_addr_buffer + offset;