FreeBSD Bugzilla – Attachment 206840 Details for
Bug 239516
readelf -wf segfaults on most (all?) debug info files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
readelf.diff (text/plain), 533 bytes, created by
Paco Pascal
on 2019-08-24 07:39:16 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Paco Pascal
Created:
2019-08-24 07:39:16 UTC
Size:
533 bytes
patch
obsolete
>Index: readelf/readelf.c >=================================================================== >--- readelf/readelf.c (revision 351418) >+++ readelf/readelf.c (working copy) >@@ -6039,7 +6039,11 @@ > int i, eh_frame; > Dwarf_Error de; > >- printf("\nThe section %s contains:\n\n", s->name); >+ if (s->type == SHT_NOBITS) { >+ printf("\nThe section %s has no usable data, due to NOBITS type.\n", s->name); >+ return; >+ } else >+ printf("\nThe section %s contains:\n\n", s->name); > > if (!strcmp(s->name, ".debug_frame")) { > eh_frame = 0;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 239516
: 206840 |
206867