Closed waugustus closed 1 year ago
This seems to be issue with the "libjpeg" library used. No indication this is issue in jpegoptim itself (?)
I was unable to reproduce issue. Can you test against latest (master branch) and see if this is still present?
(perhaps change 3401f250ace692a5b23eac1617dc429eb3566f9f fixed this as well)
Hi, I have confirmed that this bug cannot be reproduced in commit https://github.com/tjko/jpegoptim/commit/3401f250ace692a5b23eac1617dc429eb3566f9f. Thanks for your fix.
Hi,
There is a SEGV error in optimize, jpegoptim.c:906, as shown as follows.
poc.zip
Affected version: jpegoptim 1.5.0 and the master branch b922c2745a69accfc2f59d9d98ba9aef8972d541 (Fri Nov 11 19:17:31 2022 -0800)
Environment:
Additional information: It seems that the crash occurred in the
libjpeg.so.8
. Since it is the default version oflibjpeg
in Ubuntu 18.04, 20.04, etc., I think this crash may has a wider impact. A simple fix might be to limit the old version oflibjpeg
inconfigure
.