update to 2.9

epel9
Thomas Sailer 7 years ago
parent deccad2dda
commit e0bfab039d

1
.gitignore vendored

@ -3,3 +3,4 @@
/lcms2-2.6rc3.tar.gz
/lcms2-2.7.tar.gz
/lcms2-2.8.tar.gz
/lcms2-2.9.tar.gz

@ -1,19 +0,0 @@
From 5ca71a7bc18b6897ab21d815d15e218e204581e2 Mon Sep 17 00:00:00 2001
From: Marti <marti.maria@tktbrainpower.com>
Date: Mon, 15 Aug 2016 23:31:39 +0200
Subject: Added an extra check to MLU bounds
Thanks to Ibrahim el-sayed for spotting the bug
diff --git a/src/cmstypes.c b/src/cmstypes.c
index cb61860..c7328b9 100644
--- a/src/cmstypes.c
+++ b/src/cmstypes.c
@@ -1460,6 +1460,7 @@ void *Type_MLU_Read(struct _cms_typehandler_struct* self, cmsIOHANDLER* io, cmsU
// Check for overflow
if (Offset < (SizeOfHeader + 8)) goto Error;
+ if ((Offset + Len) > SizeOfTag + 8) goto Error;
// True begin of the string
BeginOfThisString = Offset - SizeOfHeader - 8;

@ -4,18 +4,15 @@
#global prerelease rc3
Name: mingw-%{mingw_pkg_name}
Version: 2.8
Version: 2.9
#Release: 0.2.%{prerelease}%{?dist}
Release: 4%{?dist}
Release: 1%{?dist}
Summary: MinGW Color Management Engine
Group: Development/Libraries
License: MIT
URL: http://www.littlecms.com/
#Source0: http://www.littlecms.com/%{mingw_pkg_name}-%{version}%{prerelease}.tar.gz
Source0: http://www.littlecms.com/%{mingw_pkg_name}-%{version}.tar.gz
# https://bugzilla.redhat.com/show_bug.cgi?id=1367357
# https://bugzilla.redhat.com/show_bug.cgi?id=1367359
Patch0: commit-5ca71a7.patch
BuildRequires: mingw32-filesystem
BuildRequires: mingw64-filesystem
@ -75,7 +72,6 @@ mingw64-%{mingw_pkg_name} development.
%prep
#setup -q -n %{mingw_pkg_name}-%{version}%{prerelease}
%setup -q -n %{mingw_pkg_name}-%{version}
%patch0 -p1
iconv -f ISO-8859-1 -t UTF-8 AUTHORS > AUTHORS.x
mv -f AUTHORS.x AUTHORS
@ -117,6 +113,9 @@ rm -rf ${RPM_BUILD_ROOT}/%{mingw64_mandir}
%{mingw64_libdir}/liblcms2.a
%changelog
* Wed Dec 06 2017 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.9-1
- update to 2.9
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.8-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

@ -1 +1 @@
a6cd09315c153b55329bbae810b6de5b lcms2-2.8.tar.gz
SHA512 (lcms2-2.9.tar.gz) = e30ad5a9a1ab9e7aaace9431434caa19a5ff6143db46644aba971a5ee37a265b26bf738e886d766405a7eb45a9d620d67c7ab3684ace86a107cf5a76642c04a5

Loading…
Cancel
Save