Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142178853
D25626.id74708.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
651 B
Referenced Files
None
Subscribers
None
D25626.id74708.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D25626: libdwarf: Hide SHT_NOBITS sections.
Attached
Detach File
Event Timeline
Log In to Comment