Files
mozjpeg/doc/html
DRC 98ff1fd103 TurboJPEG: Add lossless JPEG detection capability
Add a new TurboJPEG C API function (tjDecompressHeader4()) and Java API
method (TJDecompressor.getFlags()) that return the bitwise OR of any
flags that are relevant to the JPEG image being decompressed (currently
TJFLAG_PROGRESSIVE, TJFLAG_ARITHMETIC, TJFLAG_LOSSLESS, and their Java
equivalents.)  This allows a calling program to determine whether the
image being decompressed is a lossless JPEG image, which means that the
decompression scaling feature will not be available and that a
full-sized destination buffer should be allocated.

More specifically, this fixes a buffer overrun in TJBench, TJExample,
and the decompress* fuzz targets that occurred when attempting (in vain)
to decompress a lossless JPEG image with decompression scaling enabled.
2022-11-21 22:46:12 -06:00
..
2013-08-18 09:00:15 +00:00
2013-08-18 09:00:15 +00:00
2013-08-18 09:00:15 +00:00
2020-10-01 14:36:30 -05:00
2020-10-01 14:36:30 -05:00
2013-08-18 09:00:15 +00:00
2013-08-18 09:00:15 +00:00
2013-08-18 09:00:15 +00:00
2013-08-18 09:00:15 +00:00
2013-08-18 09:00:15 +00:00
2013-08-18 09:00:15 +00:00
2013-08-18 09:00:15 +00:00
2013-08-18 09:00:15 +00:00
2013-08-18 09:00:15 +00:00
2013-08-18 09:00:15 +00:00
2020-10-01 14:36:30 -05:00