[File] [PATCH] readelf: Fix the size limit of the elf note section

Vincent Mihalkovic vmihalko at redhat.com
Thu Feb 9 15:28:32 UTC 2023


Since the file command is used in `rpmbuild`, even minor bugs often affect
the whole fedora ecosystem. That's what also happens here:

The cause of this problem is the commit
is a fix for https://bugs.astron.com/view.php?id=372. The commit message
says that the limit is 128M, but the actual limit is only 64M.
I fixed this in the proposed patch. But some users encounter this error
with e.g., "Thunderbird/libxul.so" whose size is 128260532 ~ 122MB which is
quite near 128MB. It may be only a matter of time before a file crossing
this limit appears...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.astron.com/pipermail/file/attachments/20230209/b3ace563/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: file-5.43-readelf-limit.patch
Type: text/x-patch
Size: 670 bytes
Desc: not available
URL: <https://mailman.astron.com/pipermail/file/attachments/20230209/b3ace563/attachment.bin>

More information about the File mailing list