From cf899b305747bd2c8f37474c56ce9288cae70cad86dab64e8b532d723b0d96ad Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Fri, 24 Feb 2023 07:32:56 +0000 Subject: [PATCH] Accepting request 1066935 from home:polslinux:branches:graphics - update to 2.1.5.1: * Fixed a regression introduced by 2.0 beta1[15] that caused a buffer overrun in the progressive Huffman encoder when attempting to transform a specially-crafted malformed 12-bit-per-component JPEG image into a progressive 12-bit-per-component JPEG image using a 12-bit-per-component build of libjpeg-turbo. * Fixed an issue whereby, when using a 12-bit-per-component build of libjpeg-turbo (-DWITH_12BIT=1), passing samples with values greater than 4095 or less than 0 to jpeg_write_scanlines() caused a buffer overrun or underrun in the RGB-to-YCbCr color converter. * Fixed a floating point exception that occurred when attempting to use the jpegtran -drop and -trim options to losslessly transform a specially-crafted malformed JPEG image. * Fixed an issue in tjBufSizeYUV2() whereby it returned a bogus result, rather than throwing an error, if the align parameter was not a power of 2. * Fixed a similar issue in tjCompressFromYUV() whereby it generated a corrupt JPEG image in certain cases, rather than throwing an error, if the align parameter was not a power of 2. * Fixed an issue whereby tjDecompressToYUV2(), which is a wrapper for tjDecompressToYUVPlanes(), used the desired YUV image dimensions rather than the actual scaled image dimensions when computing the plane pointers and strides to pass to tjDecompressToYUVPlanes(). This caused a buffer overrun and subsequent segfault if the desired image dimensions exceeded the scaled image dimensions. * Fixed an issue whereby, when decompressing a 12-bit-per-component JPEG image (-DWITH_12BIT=1) using an alpha-enabled output color space such as JCS_EXT_RGBA, the alpha channel was set to 255 rather than 4095. * Fixed an issue whereby the Java version of TJBench did not accept a range of quality values. * Fixed an issue whereby, when -progressive was passed to TJBench, OBS-URL: https://build.opensuse.org/request/show/1066935 OBS-URL: https://build.opensuse.org/package/show/graphics/libjpeg-turbo?expand=0&rev=136 --- libjpeg-turbo-2.1.4.tar.gz | 3 --- libjpeg-turbo-2.1.4.tar.gz.sig | Bin 543 -> 0 bytes libjpeg-turbo-2.1.5.1.tar.gz | 3 +++ libjpeg-turbo-2.1.5.1.tar.gz.sig | Bin 0 -> 543 bytes libjpeg-turbo.changes | 36 +++++++++++++++++++++++++++++++ libjpeg-turbo.spec | 4 ++-- libjpeg62-turbo.spec | 4 ++-- 7 files changed, 43 insertions(+), 7 deletions(-) delete mode 100644 libjpeg-turbo-2.1.4.tar.gz delete mode 100644 libjpeg-turbo-2.1.4.tar.gz.sig create mode 100644 libjpeg-turbo-2.1.5.1.tar.gz create mode 100644 libjpeg-turbo-2.1.5.1.tar.gz.sig diff --git a/libjpeg-turbo-2.1.4.tar.gz b/libjpeg-turbo-2.1.4.tar.gz deleted file mode 100644 index 98db0a4..0000000 --- a/libjpeg-turbo-2.1.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d3ed26a1131a13686dfca4935e520eb7c90ae76fbc45d98bb50a8dc86230342b -size 2261822 diff --git a/libjpeg-turbo-2.1.4.tar.gz.sig b/libjpeg-turbo-2.1.4.tar.gz.sig deleted file mode 100644 index 58586396d391b5664488014211be37b70c05f43105a2a9bdd1f85d0ac7f20078..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 543 zcmV+)0^t3L0vrSY0RjL91p;FBf%5c8(k9=c) z{EQ8o7whpQ>V3%NZp*NW5U))g#%~O6lw8XAL_0@(t9Dwp4Y;vRDREYw-Rhy=g8KOoqy`OU62nZV#Fr3e+Zuw9qP9%l(FO7U$vuX z?KAt|2yY0KMW=e@ZRT$A1gM_0ax^)$aweK{r!DEuk~r9w{qf zU&I(|lmZGIBWxM<=i$Ayy7H+8=zV$5AzC{hrCQiP{H@T=Z&O2sc^GbeA{VDX4Uk(# zizri+X(E8pj^h$QCd|bscS+n>3k_jP$-fs!q%x`n+c<;q&|3qF^>_F0jkIj%ne=`iK0d~#a&UVa& zM^m<>yuAw*0K(2ISa-LgX;0+yB%T;X>c9&OD#ciH hb_aYhtsN*L{#1!nk7L&iFL{T@0s*QSFc4CbE4>T>0+;{* literal 0 HcmV?d00001 diff --git a/libjpeg-turbo.changes b/libjpeg-turbo.changes index 38d3566..d6a0945 100644 --- a/libjpeg-turbo.changes +++ b/libjpeg-turbo.changes @@ -1,3 +1,39 @@ +------------------------------------------------------------------- +Tue Feb 21 08:22:09 UTC 2023 - Paolo Stivanin + +- update to 2.1.5.1: + * Fixed a regression introduced by 2.0 beta1[15] that caused a buffer + overrun in the progressive Huffman encoder when attempting to transform + a specially-crafted malformed 12-bit-per-component JPEG image into a + progressive 12-bit-per-component JPEG image using a 12-bit-per-component + build of libjpeg-turbo. + * Fixed an issue whereby, when using a 12-bit-per-component build of + libjpeg-turbo (-DWITH_12BIT=1), passing samples with values greater than 4095 + or less than 0 to jpeg_write_scanlines() caused a buffer overrun or + underrun in the RGB-to-YCbCr color converter. + * Fixed a floating point exception that occurred when attempting to use + the jpegtran -drop and -trim options to losslessly transform a + specially-crafted malformed JPEG image. + * Fixed an issue in tjBufSizeYUV2() whereby it returned a bogus result, + rather than throwing an error, if the align parameter was not a power of 2. + * Fixed a similar issue in tjCompressFromYUV() whereby it generated a corrupt + JPEG image in certain cases, rather than throwing an error, + if the align parameter was not a power of 2. + * Fixed an issue whereby tjDecompressToYUV2(), which is a wrapper for + tjDecompressToYUVPlanes(), used the desired YUV image dimensions + rather than the actual scaled image dimensions when computing the plane + pointers and strides to pass to tjDecompressToYUVPlanes(). + This caused a buffer overrun and subsequent segfault if the desired + image dimensions exceeded the scaled image dimensions. + * Fixed an issue whereby, when decompressing a 12-bit-per-component JPEG + image (-DWITH_12BIT=1) using an alpha-enabled output color space such as + JCS_EXT_RGBA, the alpha channel was set to 255 rather than 4095. + * Fixed an issue whereby the Java version of TJBench did not accept a range + of quality values. + * Fixed an issue whereby, when -progressive was passed to TJBench, + the JPEG input image was not transformed into a progressive JPEG image + prior to decompression. + ------------------------------------------------------------------- Sat Dec 24 12:04:53 UTC 2022 - Dirk Stoecker diff --git a/libjpeg-turbo.spec b/libjpeg-turbo.spec index af328db..0a338c1 100644 --- a/libjpeg-turbo.spec +++ b/libjpeg-turbo.spec @@ -1,7 +1,7 @@ # # spec file for package libjpeg-turbo # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,7 +27,7 @@ %define tmicro 0 %define tlibver %{tmajor}.%{tminor}.%{tmicro} Name: libjpeg-turbo -Version: 2.1.4 +Version: 2.1.5.1 Release: 0 Summary: A SIMD-accelerated library for manipulating JPEG image files License: BSD-3-Clause diff --git a/libjpeg62-turbo.spec b/libjpeg62-turbo.spec index 89ca88d..0f8b937 100644 --- a/libjpeg62-turbo.spec +++ b/libjpeg62-turbo.spec @@ -1,7 +1,7 @@ # # spec file for package libjpeg62-turbo # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ %define minor 3 %define micro 0 %define libver %{major}.%{minor}.%{micro} -%define srcver 2.1.4 +%define srcver 2.1.5.1 Name: libjpeg62-turbo Version: %{srcver} Release: 0