On Wed, Jan 15, 2025 at 10:18:28AM +0100, Robin Jarry wrote: > Hi folks, > > I found out that rpmlint errors out without producing any meaningful result when the analyzed RPMs contain binaries: rpmlint should not blindly assume that output is valid text, but should probably print a meaningful replacement message when it gets something that is not utf-8. > interpreter ~e\006K\006$\0067\004\022\006\003\344\001\202\006_\006$\006A\006\003\e\006U I just wanted to note that the tools probably just print anything until \000, assuming the string is "ascii" (or some 8-bit encoding). They probably could be smarted and reject anything that contains characters that are not printable ASCII… > I suspect this is a bug in binutils/files which should not print binary code in lieu of the interpreter name. But maybe the culprit is in gcc. Yeah, is seems like bugs at at least three levels. Zbyszek -- _______________________________________________ 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