17 lines
552 B
Diff
17 lines
552 B
Diff
|
diff --git a/libdw/dwarf_getsrclines.c b/libdw/dwarf_getsrclines.c
|
||
|
index 9b3c97a..54c17f8 100644
|
||
|
--- a/libdw/dwarf_getsrclines.c
|
||
|
+++ b/libdw/dwarf_getsrclines.c
|
||
|
@@ -337,8 +337,11 @@ dwarf_getsrclines (Dwarf_Die *cudie, Dwarf_Lines **lines, size_t *nlines)
|
||
|
/* Consistency check. */
|
||
|
if (unlikely (linep != header_start + header_length))
|
||
|
{
|
||
|
+#if 0
|
||
|
__libdw_seterrno (DWARF_E_INVALID_DWARF);
|
||
|
goto out;
|
||
|
+#endif
|
||
|
+ linep = header_start + header_length;
|
||
|
}
|
||
|
|
||
|
/* We are about to process the statement program. Initialize the
|