import libjpeg-turbo-1.5.3-12.el8
This commit is contained in:
parent
5f7ed9314e
commit
eb707df4aa
13
SOURCES/libjpeg-turbo-CVE-2020-17541.patch
Normal file
13
SOURCES/libjpeg-turbo-CVE-2020-17541.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/jchuff.c b/jchuff.c
|
||||||
|
index fffaace..3bf0194 100644
|
||||||
|
--- a/jchuff.c
|
||||||
|
+++ b/jchuff.c
|
||||||
|
@@ -428,7 +428,7 @@ dump_buffer (working_state *state)
|
||||||
|
* scanning order-- 1, 8, 16, etc.), then this will produce an encoded block
|
||||||
|
* larger than 200 bytes.
|
||||||
|
*/
|
||||||
|
-#define BUFSIZE (DCTSIZE2 * 4)
|
||||||
|
+#define BUFSIZE (DCTSIZE2 * 8)
|
||||||
|
|
||||||
|
#define LOAD_BUFFER() { \
|
||||||
|
if (state->free_in_buffer < BUFSIZE) { \
|
@ -1,6 +1,6 @@
|
|||||||
Name: libjpeg-turbo
|
Name: libjpeg-turbo
|
||||||
Version: 1.5.3
|
Version: 1.5.3
|
||||||
Release: 10%{?dist}
|
Release: 12%{?dist}
|
||||||
Summary: A MMX/SSE2/SIMD accelerated library for manipulating JPEG image files
|
Summary: A MMX/SSE2/SIMD accelerated library for manipulating JPEG image files
|
||||||
License: IJG
|
License: IJG
|
||||||
URL: http://sourceforge.net/projects/libjpeg-turbo
|
URL: http://sourceforge.net/projects/libjpeg-turbo
|
||||||
@ -14,6 +14,7 @@ Patch4: libjpeg-turbo-honor-naflags.patch
|
|||||||
Patch5: libjpeg-turbo-coverity.patch
|
Patch5: libjpeg-turbo-coverity.patch
|
||||||
Patch6: libjpeg-turbo-CET.patch
|
Patch6: libjpeg-turbo-CET.patch
|
||||||
Patch7: libjpeg-turbo-CVE-2018-14498.patch
|
Patch7: libjpeg-turbo-CVE-2018-14498.patch
|
||||||
|
Patch8: libjpeg-turbo-CVE-2020-17541.patch
|
||||||
|
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
@ -83,6 +84,7 @@ manipulate JPEG files using the TurboJPEG library.
|
|||||||
%patch5 -p1 -b .coverity
|
%patch5 -p1 -b .coverity
|
||||||
%patch6 -p1 -b .CET
|
%patch6 -p1 -b .CET
|
||||||
%patch7 -p1 -b .CVE-2018-14498
|
%patch7 -p1 -b .CVE-2018-14498
|
||||||
|
%patch8 -p1 -b .CVE-2020-17541
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -vif
|
autoreconf -vif
|
||||||
@ -149,6 +151,7 @@ make test %{?_smp_mflags}
|
|||||||
%ldconfig_scriptlets -n turbojpeg
|
%ldconfig_scriptlets -n turbojpeg
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
%license LICENSE.md
|
||||||
%doc README.md README.ijg ChangeLog.md
|
%doc README.md README.ijg ChangeLog.md
|
||||||
%{_libdir}/libjpeg.so.62*
|
%{_libdir}/libjpeg.so.62*
|
||||||
|
|
||||||
@ -176,6 +179,7 @@ make test %{?_smp_mflags}
|
|||||||
%{_mandir}/man1/wrjpgcom.1*
|
%{_mandir}/man1/wrjpgcom.1*
|
||||||
|
|
||||||
%files -n turbojpeg
|
%files -n turbojpeg
|
||||||
|
%license LICENSE.md
|
||||||
%{_libdir}/libturbojpeg.so.0*
|
%{_libdir}/libturbojpeg.so.0*
|
||||||
|
|
||||||
%files -n turbojpeg-devel
|
%files -n turbojpeg-devel
|
||||||
@ -184,6 +188,12 @@ make test %{?_smp_mflags}
|
|||||||
%{_libdir}/pkgconfig/libturbojpeg.pc
|
%{_libdir}/pkgconfig/libturbojpeg.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 15 2021 Nikola Forró <nforro@redhat.com> - 1.5.3-12
|
||||||
|
- Add missing license file (#1982572)
|
||||||
|
|
||||||
|
* Wed Jun 30 2021 Nikola Forró <nforro@redhat.com> - 1.5.3-11
|
||||||
|
- Fix CVE-2020-17541 (#1972289)
|
||||||
|
|
||||||
* Thu Jun 06 2019 Nikola Forró <nforro@redhat.com> - 1.5.3-10
|
* Thu Jun 06 2019 Nikola Forró <nforro@redhat.com> - 1.5.3-10
|
||||||
- Fix CVE-2018-14498 (#1687477)
|
- Fix CVE-2018-14498 (#1687477)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user