Subject: CVS commit: pkgsrc/graphics/libjpeg-turbo
From: Adam Ciarcinski
Date: 2020-06-30 08:03:04
Message id: 20200630060304.5E82EFB28@cvs.NetBSD.org

Log Message:
libjpeg-turbo: updated to 2.0.5

2.0.5

Significant changes relative to 2.0.4:

Worked around issues in the MIPS DSPr2 SIMD extensions that caused failures in \ 
the libjpeg-turbo regression tests. Specifically, the \ 
jsimd_h2v1_downsample_dspr2() and jsimd_h2v2_downsample_dspr2() functions in the \ 
MIPS DSPr2 SIMD extensions are now disabled until/unless they can be fixed, and \ 
other functions that are incompatible with big endian MIPS CPUs are disabled \ 
when building libjpeg-turbo for such CPUs.

Fixed an oversight in the TJCompressor.compress(int) method in the TurboJPEG \ 
Java API that caused an error ("java.lang.IllegalStateException: No source \ 
image is associated with this instance") when attempting to use that method \ 
to compress a YUV image.

Fixed an issue (CVE-2020-13790) in the PPM reader that caused a buffer overrun \ 
in cjpeg, TJBench, or the tjLoadImage() function if one of the values in a \ 
binary PPM/PGM input file exceeded the maximum value defined in the file's \ 
header and that maximum value was less than 255. libjpeg-turbo 1.5.0 already \ 
included a similar fix for binary PPM/PGM files with maximum values greater than \ 
255.

The TurboJPEG API library's global error handler, which is used in functions \ 
such as tjBufSize() and tjLoadImage() that do not require a TurboJPEG instance \ 
handle, is now thread-safe on platforms that support thread-local storage.

Files:
RevisionActionfile
1.20modifypkgsrc/graphics/libjpeg-turbo/Makefile
1.14modifypkgsrc/graphics/libjpeg-turbo/distinfo