[File] [PATCH] readelf: Fix the size limit of the elf note section
Christos Zoulas
christos at zoulas.com
Thu Feb 9 18:03:13 UTC 2023
On 2023-02-09 10:28 am, Vincent Mihalkovic wrote:
> Hi,
>
> Since the file command is used in `rpmbuild`, even minor bugs often
> affect the whole fedora ecosystem. That's what also happens here:
> https://bugzilla.redhat.com/show_bug.cgi?id=2167964.
>
> The cause of this problem is the commit
> https://github.com/file/file/commit/e1233247bbe4d2d66b891224336a23384a93cce1
> which 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...
Ouch! This is just for the notes section... I bumped it to 128K and made
it
configurable!
thanks,
christos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <https://mailman.astron.com/pipermail/file/attachments/20230209/70628e78/attachment.asc>
More information about the File
mailing list