[File] "lhs/off overflow" messages to stderr

Christoph Biedl astron.com.bwoj at manchmal.in-ulm.de
Tue Dec 20 22:34:44 UTC 2022


Okay, that one was garbled, too.

So in a nutshell,

commit ba8be65cb978669c2081265ae61f7606805eeb3e
Author: Christos Zoulas <christos at zoulas.com>
Date:   Wed Sep 21 02:18:17 2022 +0000

    check and limit range of offset to prevent overflow (clusterfuzz)

introduced error messages in src/softmagic.c, printed to stderr. At
least the first one

| fprintf(stderr, "lhs/off overflow %jd %jd\n", lhs, off);

gets triggered here on a regular base (lost a reproducer, can try to find it
again).

May I suggest to disable them, or to print them only when running under
some debugging?

    Christoph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://mailman.astron.com/pipermail/file/attachments/20221220/62b9e713/attachment.asc>


More information about the File mailing list