SHA256
3
0
forked from pool/elfutils
elfutils/elfutils-0.137-dwarf-header-check-fix.diff

18 lines
414 B
Diff
Raw Normal View History

---
libdw/dwarf_getsrclines.c | 2 ++
1 file changed, 2 insertions(+)
--- a/libdw/dwarf_getsrclines.c
+++ b/libdw/dwarf_getsrclines.c
@@ -337,8 +337,10 @@
/* Consistency check. */
if (unlikely (linep != header_start + header_length))
{
+#if 0
__libdw_seterrno (DWARF_E_INVALID_DWARF);
goto out;
+#endif
}
/* We are about to process the statement program. Initialize the