Signed-off-by: Mark Wielaard <mjw@redhat.com>
+2014-12-15 Mark Wielaard <mjw@redhat.com>
+
+ * readelf.c (print_debug_line_section): Check there is enough room
+ for DW_LNE_set_address argument.
+
2014-12-14 Mark Wielaard <mjw@redhat.com>
* elflint.c (check_attributes): Call get_uleb128 with end pointer.
case DW_LNE_set_address:
op_index = 0;
+ if (unlikely ((size_t) (lineendp - linep) < address_size))
+ goto invalid_unit;
if (address_size == 4)
address = read_4ubyte_unaligned_inc (dbg, linep);
else