Re: rpmlint+readelf corrupted interpreter on generated binaries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mark,

But I also think this is a bug in binutils readelf (CCing nickc).

It really should not even try to print the "interpreter" of a separate
debuginfo file.

Well yes and no.  One of the main uses of readelf is to inspect potentially
broken or corrupt ELF files, so displaying the contents of the interpreter
field even when it is not expected to be meaningful could still be of use
to someone.

What I have done however is to update readelf's sources so that it sanitizes
the interpreter string before displaying it.  Where "sanitizes" == "converts
any non displaying characters into hex values".

Cheers
  Nick



--
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux