File elfutils-0.137-dwarf-header-check-fix.diff of Package elfutils

---
 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
openSUSE Build Service is sponsored by