Page MenuHomeFreeBSD

D25626.id74708.diff
No OneTemporary

D25626.id74708.diff

Index: contrib/elftoolchain/libdwarf/libdwarf_elf_init.c
===================================================================
--- contrib/elftoolchain/libdwarf/libdwarf_elf_init.c
+++ contrib/elftoolchain/libdwarf/libdwarf_elf_init.c
@@ -260,6 +260,9 @@
goto fail_cleanup;
}
+ if (sh.sh_type == SHT_NOBITS)
+ continue;
+
if ((name = elf_strptr(elf, e->eo_strndx, sh.sh_name)) ==
NULL) {
DWARF_SET_ELF_ERROR(dbg, error);
@@ -313,6 +316,9 @@
goto fail_cleanup;
}
+ if (sh.sh_type == SHT_NOBITS)
+ continue;
+
memcpy(&e->eo_shdr[j], &sh, sizeof(sh));
if ((name = elf_strptr(elf, e->eo_strndx, sh.sh_name)) ==

File Metadata

Mime Type
text/plain
Expires
Sat, Jan 17, 9:11 PM (7 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27699300
Default Alt Text
D25626.id74708.diff (651 B)

Event Timeline