|
|
|
@ -1,21 +1,18 @@
|
|
|
|
|
Summary: X.Org X11 libXpm runtime library
|
|
|
|
|
Name: libXpm
|
|
|
|
|
Version: 3.5.12
|
|
|
|
|
Release: 11%{?dist}
|
|
|
|
|
Version: 3.5.13
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
License: MIT
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
URL: http://www.x.org
|
|
|
|
|
|
|
|
|
|
Source0: https://www.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
|
|
|
|
|
|
|
|
|
|
BuildRequires: xorg-x11-util-macros
|
|
|
|
|
BuildRequires: autoconf automake libtool
|
|
|
|
|
BuildRequires: autoconf automake libtool make
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
BuildRequires: pkgconfig(xext) pkgconfig(xt) pkgconfig(xau)
|
|
|
|
|
BuildRequires: ncompress gzip
|
|
|
|
|
|
|
|
|
|
Patch0: 0001-After-fdopen-use-fclose-instead-of-close-in-error-pa.patch
|
|
|
|
|
|
|
|
|
|
# CVE-2022-46285
|
|
|
|
|
Patch0001: 0001-Fix-CVE-2022-46285-Infinite-loop-on-unclosed-comment.patch
|
|
|
|
|
# CVE-2022-44617
|
|
|
|
@ -25,17 +22,12 @@ Patch0003: 0003-Prevent-a-double-free-in-the-error-code-path.patch
|
|
|
|
|
Patch0004: 0004-configure-add-disable-open-zfile-instead-of-requirin.patch
|
|
|
|
|
Patch0005: 0005-Fix-CVE-2022-4883-compression-commands-depend-on-PAT.patch
|
|
|
|
|
Patch0006: 0006-Use-gzip-d-instead-of-gunzip.patch
|
|
|
|
|
# CVE-2023-43788
|
|
|
|
|
Patch0007: 0001-Fix-CVE-2023-43788-Out-of-bounds-read-in-XpmCreateXp.patch
|
|
|
|
|
# CVE-2023-43789
|
|
|
|
|
Patch0008: 0001-Fix-CVE-2023-43789-Out-of-bounds-read-on-XPM-with-co.patch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
X.Org X11 libXpm runtime library
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: X.Org X11 libXpm development package
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
@ -43,15 +35,13 @@ X.Org X11 libXpm development package
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch0 -p1 -b .covscan
|
|
|
|
|
|
|
|
|
|
%patch0001 -p1
|
|
|
|
|
%patch0002 -p1
|
|
|
|
|
%patch0003 -p1
|
|
|
|
|
%patch0004 -p1
|
|
|
|
|
%patch0005 -p1
|
|
|
|
|
%patch0006 -p1
|
|
|
|
|
%patch0007 -p1
|
|
|
|
|
%patch0008 -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
autoreconf -v --install --force
|
|
|
|
@ -85,27 +75,41 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
|
|
#%{_mandir}/man1/*.1x*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Mar 29 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 3.5.12-11
|
|
|
|
|
- Rebuilt for MSVSphere 8.10 beta
|
|
|
|
|
|
|
|
|
|
* Wed Oct 11 2023 José Expósito <jexposit@redhat.com> - 3.5.12-11
|
|
|
|
|
- Drop hardening patches from previous version to keep ABI compatibility
|
|
|
|
|
|
|
|
|
|
* Wed Oct 11 2023 José Expósito <jexposit@redhat.com> - 3.5.12-10
|
|
|
|
|
- CVE-2023-43786 libX11: stack exhaustion from infinite recursion
|
|
|
|
|
in PutSubImage()
|
|
|
|
|
- CVE-2023-43787 libX11: integer overflow in XCreateImage() leading to
|
|
|
|
|
a heap overflow
|
|
|
|
|
- CVE-2023-43788 libXpm: out of bounds read in XpmCreateXpmImageFromBuffer()
|
|
|
|
|
- CVE-2023-43789 libXpm: out of bounds read on XPM with corrupted colormap
|
|
|
|
|
|
|
|
|
|
* Mon Jan 16 2023 Peter Hutterer <peter.hutterer@redhat.com> - 3.5.12-9
|
|
|
|
|
- Fix CVE-2022-46285: infinite loop on unclosed comments (#2160229)
|
|
|
|
|
- Fix CVE-2022-44617: runaway loop with width of 0 (#2160231)
|
|
|
|
|
- Fix CVE-2022-4883: compression depends on $PATH (#2160239)
|
|
|
|
|
|
|
|
|
|
* Mon Dec 09 2019 Benjamin Tissoires <benjamin.tissoires@redhat.com> 3.5.12-8
|
|
|
|
|
- add covscan fixes (#1602606)
|
|
|
|
|
* Mon Jan 16 2023 Peter Hutterer <peter.hutterer@redhat.com> - 3.5.13-8
|
|
|
|
|
- Fix CVE-2022-46285: infinite loop on unclosed comments (#2160230)
|
|
|
|
|
- Fix CVE-2022-44617: runaway loop with width of 0 (#2160232)
|
|
|
|
|
- Fix CVE-2022-4883: compression depends on $PATH (#2160242)
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.5.13-7
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 3.5.13-6
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.13-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 05 2021 Peter Hutterer <peter.hutterer@redhat.com> 3.5.13-4
|
|
|
|
|
- Add make to BuildRequires
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.13-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.13-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Dec 13 2019 Peter Hutterer <peter.hutterer@redhat.com> 3.5.13-1
|
|
|
|
|
- libXpm 3.5.13
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.12-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.12-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.12-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 05 2018 Adam Jackson <ajax@redhat.com> - 3.5.12-7
|
|
|
|
|
- Drop useless %%defattr
|
|
|
|
|