rpms/mingw32-libtiff/devel libtiff-3.8.2-lzw-bugs.patch, 1.1, 1.2 mingw32-libtiff.spec, 1.2, 1.3

plouj plouj at fedoraproject.org
Mon Jul 13 23:09:31 UTC 2009


Author: plouj

Update of /cvs/pkgs/rpms/mingw32-libtiff/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24926

Modified Files:
	libtiff-3.8.2-lzw-bugs.patch mingw32-libtiff.spec 
Log Message:
* Mon Jul 13 2009 Michael Ploujnikov <ploujj at gmail.com> - 3.8.2-17
- update upstream URL   
- Fix some more LZW decoding vulnerabilities (CVE-2009-2285)
Related: #511015


libtiff-3.8.2-lzw-bugs.patch:

Index: libtiff-3.8.2-lzw-bugs.patch
===================================================================
RCS file: /cvs/pkgs/rpms/mingw32-libtiff/devel/libtiff-3.8.2-lzw-bugs.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- libtiff-3.8.2-lzw-bugs.patch	8 Jun 2009 22:29:00 -0000	1.1
+++ libtiff-3.8.2-lzw-bugs.patch	13 Jul 2009 23:09:30 -0000	1.2
@@ -1,4 +1,4 @@
-Fixes for CVE-2008-2327
+Fixes for CVE-2008-2327 and CVE-2009-2285
 
 
 diff -Naur tiff-3.8.2.orig/libtiff/tif_lzw.c tiff-3.8.2/libtiff/tif_lzw.c
@@ -27,7 +27,7 @@ diff -Naur tiff-3.8.2.orig/libtiff/tif_l
  			NextCode(tif, sp, bp, code, GetNextCode);
  			if (code == CODE_EOI)
  				break;
-+			if (code == CODE_CLEAR) {
++			if (code >= CODE_CLEAR) {
 +				TIFFErrorExt(tif->tif_clientdata, tif->tif_name,
 +				"LZWDecode: Corrupted LZW table at scanline %d",
 +				tif->tif_row);
@@ -47,7 +47,7 @@ diff -Naur tiff-3.8.2.orig/libtiff/tif_l
  			NextCode(tif, sp, bp, code, GetNextCodeCompat);
  			if (code == CODE_EOI)
  				break;
-+			if (code == CODE_CLEAR) {
++			if (code >= CODE_CLEAR) {
 +				TIFFErrorExt(tif->tif_clientdata, tif->tif_name,
 +				"LZWDecodeCompat: Corrupted LZW table at scanline %d",
 +				tif->tif_row);


Index: mingw32-libtiff.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mingw32-libtiff/devel/mingw32-libtiff.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- mingw32-libtiff.spec	9 Jun 2009 01:58:34 -0000	1.2
+++ mingw32-libtiff.spec	13 Jul 2009 23:09:30 -0000	1.3
@@ -7,10 +7,10 @@
 Summary: MinGW Windows port of the LibTIFF library
 Name: mingw32-libtiff
 Version: 3.8.2
-Release: 16%{?dist}
+Release: 17%{?dist}
 License: libtiff
 Group: System Environment/Libraries
-URL: http://www.libtiff.org/
+URL: http://www.remotesensing.org/libtiff/
 
 Source: ftp://ftp.remotesensing.org/pub/libtiff/tiff-%{version}.tar.gz
 Patch0: tiffsplit-overflow.patch
@@ -77,6 +77,11 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Jul 13 2009 Michael Ploujnikov <ploujj at gmail.com> - 3.8.2-17
+- update upstream URL
+- Fix some more LZW decoding vulnerabilities (CVE-2009-2285)
+Related: #511015
+
 * Mon Jun 8 2009 Michael Ploujnikov <ploujj at gmail.com> - 3.8.2-16
 - add mingw32-gcc-c++ to the BuildRequirements
 




More information about the fedora-extras-commits mailing list