9422ba635f
Resolves: #1551779 Resolves: #1573359 Resolves: #1574700 Resolves: #1573365 Resolves: #1551786 Resolves: #1546624 Resolves: #1543245 Resolves: #1539888
17 lines
457 B
Diff
17 lines
457 B
Diff
--- binutils.orig/binutils/dwarf.c 2018-04-27 09:22:07.402864408 +0100
|
|
+++ binutils-2.30/binutils/dwarf.c 2018-04-27 09:24:26.794235786 +0100
|
|
@@ -6810,6 +6810,13 @@ display_debug_ranges (struct dwarf_secti
|
|
continue;
|
|
}
|
|
|
|
+ if (next < section_begin || next >= finish)
|
|
+ {
|
|
+ warn (_("Corrupt offset (%#8.8lx) in range entry %u\n"),
|
|
+ (unsigned long) offset, i);
|
|
+ continue;
|
|
+ }
|
|
+
|
|
if (dwarf_check != 0 && i > 0)
|
|
{
|
|
if (start < next)
|