From e0bfab039da15259f7d44d2c2c13992c906be288 Mon Sep 17 00:00:00 2001 From: Thomas Sailer Date: Wed, 6 Dec 2017 14:01:16 +0100 Subject: [PATCH] update to 2.9 --- .gitignore | 1 + commit-5ca71a7.patch | 19 ------------------- mingw-lcms2.spec | 11 +++++------ sources | 2 +- 4 files changed, 7 insertions(+), 26 deletions(-) delete mode 100644 commit-5ca71a7.patch diff --git a/.gitignore b/.gitignore index 9102150..d9eb65f 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /lcms2-2.6rc3.tar.gz /lcms2-2.7.tar.gz /lcms2-2.8.tar.gz +/lcms2-2.9.tar.gz diff --git a/commit-5ca71a7.patch b/commit-5ca71a7.patch deleted file mode 100644 index 20e99e8..0000000 --- a/commit-5ca71a7.patch +++ /dev/null @@ -1,19 +0,0 @@ -From 5ca71a7bc18b6897ab21d815d15e218e204581e2 Mon Sep 17 00:00:00 2001 -From: Marti -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; diff --git a/mingw-lcms2.spec b/mingw-lcms2.spec index ac736f8..32ece3e 100644 --- a/mingw-lcms2.spec +++ b/mingw-lcms2.spec @@ -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 - 2.9-1 +- update to 2.9 + * Wed Jul 26 2017 Fedora Release Engineering - 2.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild diff --git a/sources b/sources index 17e54c1..60ff3b5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a6cd09315c153b55329bbae810b6de5b lcms2-2.8.tar.gz +SHA512 (lcms2-2.9.tar.gz) = e30ad5a9a1ab9e7aaace9431434caa19a5ff6143db46644aba971a5ee37a265b26bf738e886d766405a7eb45a9d620d67c7ab3684ace86a107cf5a76642c04a5