rpms/icu/devel icu.icu5557.safety.patch, NONE, 1.1 icu.spec, 1.43, 1.44 icu.icuXXXX.safety.patch, 1.1, NONE

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Jan 9 14:45:21 UTC 2007


Author: caolanm

Update of /cvs/dist/rpms/icu/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv6342

Modified Files:
	icu.spec 
Added Files:
	icu.icu5557.safety.patch 
Removed Files:
	icu.icuXXXX.safety.patch 
Log Message:
rename patch as upstream name

icu.icu5557.safety.patch:
 CoverageTables.cpp |    5 +++++
 1 files changed, 5 insertions(+)

--- NEW FILE icu.icu5557.safety.patch ---
--- icu.orig/source/layout/CoverageTables.cpp	2007-01-09 12:57:41.000000000 +0000
+++ icu/source/layout/CoverageTables.cpp	2007-01-09 12:59:09.000000000 +0000
@@ -44,6 +44,11 @@
     le_uint16 count = SWAPW(glyphCount);
     le_uint8 bit = OpenTypeUtilities::highBit(count);
     le_uint16 power = 1 << bit;
+
+    if (count == 0) {
+        return -1;
+    }
+
     le_uint16 extra = count - power;
     le_uint16 probe = power;
     le_uint16 index = 0;


Index: icu.spec
===================================================================
RCS file: /cvs/dist/rpms/icu/devel/icu.spec,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- icu.spec	9 Jan 2007 14:31:58 -0000	1.43
+++ icu.spec	9 Jan 2007 14:45:19 -0000	1.44
@@ -21,7 +21,7 @@
 Patch9:  icu.icu5488.assamese.patch
 Patch10: icu.icu5500.devicetablecrash.patch
 Patch11: icu.icu5501.sinhala.biggerexpand.patch
-Patch12: icu.icuXXXX.safety.patch
+Patch12: icu.icu5557.safety.patch
 Patch13: icu.icu5506.multiplevowels.patch
 
 %description
@@ -72,7 +72,7 @@
 %patch9  -p1 -b .icu5488.assamese.patch
 %patch10 -p1 -b .icu5500.devicetablecrash.patch
 %patch11 -p1 -b .icu5501.sinhala.biggerexpand.patch
-%patch12 -p1 -b .icuXXXX.safety.patch
+%patch12 -p1 -b .icu5557.safety.patch
 %patch13 -p1 -b .icu5506.multiplevowels.patch
 
 %build
@@ -155,7 +155,7 @@
 
 %changelog
 * Thu Jan 09 2007 Caolan McNamara <caolanm at redhat.com> - 3.6-14
-- Related: rhbz#216089 add icu.icuXXXX.safety.patch
+- Related: rhbz#216089 add icu.icu5557.safety.patch
 
 * Thu Dec 21 2006 Caolan McNamara <caolanm at redhat.com> - 3.6-13
 - Resolves: rhbz#220433 modify icu.icu5431.malayam.patch


--- icu.icuXXXX.safety.patch DELETED ---




More information about the fedora-cvs-commits mailing list