Don't assert.
Signed-off-by: Mark Wielaard <mjw@redhat.com>
+2014-12-08 Mark Wielaard <mjw@redhat.com>
+
+ * readelf.c (print_debug_exception_table): Report invalid data if
+ action table doesn't immediately follow call site table.
+
2014-12-10 Josh Stone <jistone@redhat.com>
* addr2line.c (get_diename): New, get linkage_name or name.
" Action: %u\n"),
u++, call_site_start, call_site_length, landing_pad, action);
}
- assert (readp == action_table);
+ if (readp != action_table)
+ goto invalid_data;
unsigned int max_ar_filter = 0;
if (max_action > 0)