rpms/icu/devel icu.icuXXXX.safety.patch, NONE, 1.1 icu.spec, 1.41, 1.42

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Jan 9 14:31:41 UTC 2007


Author: caolanm

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

Modified Files:
	icu.spec 
Added Files:
	icu.icuXXXX.safety.patch 
Log Message:
Related: rhbz#216089 add icu.icuXXXX.safety.patch

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

--- NEW FILE icu.icuXXXX.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.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- icu.spec	21 Dec 2006 09:30:55 -0000	1.41
+++ icu.spec	9 Jan 2007 14:31:39 -0000	1.42
@@ -1,6 +1,6 @@
 Name:           icu
 Version:        3.6
-Release: 	13
+Release: 	14
 Summary:        International Components for Unicode
 
 Group:          System Environment/Libraries
@@ -21,7 +21,8 @@
 Patch9:  icu.icu5488.assamese.patch
 Patch10: icu.icu5500.devicetablecrash.patch
 Patch11: icu.icu5501.sinhala.biggerexpand.patch
-Patch12: icu.icu5506.multiplevowels.patch
+Patch12: icu.icuXXXX.safety.patch
+Patch13: icu.icu5506.multiplevowels.patch
 
 %description
 The International Components for Unicode (ICU) libraries provide
@@ -71,7 +72,8 @@
 %patch9  -p1 -b .icu5488.assamese.patch
 %patch10 -p1 -b .icu5500.devicetablecrash.patch
 %patch11 -p1 -b .icu5501.sinhala.biggerexpand.patch
-%patch12 -p1 -b .icu5506.multiplevowels.patch
+%patch12 -p1 -b .icuXXXX.safety.patch
+%patch13 -p1 -b .icu5506.multiplevowels.patch
 
 %build
 cd source
@@ -152,6 +154,9 @@
 
 
 %changelog
+* Thu Jan 09 2006 Caolan McNamara <caolanm at redhat.com> - 3.6-14
+- Related: rhbz#216089 add icu.icuXXXX.safety.patch
+
 * Thu Dec 21 2006 Caolan McNamara <caolanm at redhat.com> - 3.6-13
 - Resolves: rhbz#220433 modify icu.icu5431.malayam.patch
 




More information about the fedora-cvs-commits mailing list