This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Fri, Nov 28, 2014 at 10:24:46PM +0100, Mark Wielaard wrote: > We already checked this in all other cases except for the special case > of relocs in statically_linked executables. Found with afl. Sorry, this patch is bogus. It works around the actual cause. The destshdr should not be NULL to begin with. We actually check that before processing the relocations. But when we see a STT_SECTION symbol relocation we reuse destshdr to lookup that section. The correct fix is to not trash destshdr in that case. Which the attached patch does. Cheers, Mark
Attachment:
0001-readelf-Don-t-trash-destshdr-for-STT_SECTION-in-hand.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |