add icu.icu5500.devicetablecrash.patch
This commit is contained in:
parent
9e01d27615
commit
0b6c1b1f57
11
icu.icu5500.devicetablecrash.patch
Normal file
11
icu.icu5500.devicetablecrash.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- icu.orig/source/layout/DeviceTables.cpp 2006-10-18 09:05:20.000000000 +0100
|
||||||
|
+++ icu/source/layout/DeviceTables.cpp 2006-11-08 09:08:09.000000000 +0000
|
||||||
|
@@ -22,7 +22,7 @@
|
||||||
|
le_uint16 format = SWAPW(deltaFormat) - 1;
|
||||||
|
le_int16 result = 0;
|
||||||
|
|
||||||
|
- if (ppem >= start && ppem <= SWAPW(endSize)) {
|
||||||
|
+ if (ppem >= start && ppem <= SWAPW(endSize) && format < sizeof(fieldBits)/sizeof(fieldBits[0])) {
|
||||||
|
le_uint16 sizeIndex = ppem - start;
|
||||||
|
le_uint16 bits = fieldBits[format];
|
||||||
|
le_uint16 count = 16 / bits;
|
7
icu.spec
7
icu.spec
@ -1,6 +1,6 @@
|
|||||||
Name: icu
|
Name: icu
|
||||||
Version: 3.6
|
Version: 3.6
|
||||||
Release: 9
|
Release: 10
|
||||||
Summary: International Components for Unicode
|
Summary: International Components for Unicode
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -19,6 +19,7 @@ Patch6: icu.icu5433.oriya.patch
|
|||||||
Patch7: icu.icuXXXX.virama.prevnext.patch
|
Patch7: icu.icuXXXX.virama.prevnext.patch
|
||||||
Patch8: icu.icu5465.telegu.patch
|
Patch8: icu.icu5465.telegu.patch
|
||||||
Patch9: icu.icu5488.assamese.patch
|
Patch9: icu.icu5488.assamese.patch
|
||||||
|
Patch10: icu.icu5500.devicetablecrash.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The International Components for Unicode (ICU) libraries provide
|
The International Components for Unicode (ICU) libraries provide
|
||||||
@ -66,6 +67,7 @@ Group: Documentation
|
|||||||
%patch7 -p1 -b .icuXXXX.virama.prevnext.patch
|
%patch7 -p1 -b .icuXXXX.virama.prevnext.patch
|
||||||
%patch8 -p1 -b .icu5465.telegu.patch
|
%patch8 -p1 -b .icu5465.telegu.patch
|
||||||
%patch9 -p1 -b .icu5488.assamese.patch
|
%patch9 -p1 -b .icu5488.assamese.patch
|
||||||
|
%patch10 -p1 -b .icu5500.devicetablecrash.patch
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd source
|
cd source
|
||||||
@ -146,6 +148,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 08 2006 Caolan McNamara <caolanm@redhat.com> - 3.6-10
|
||||||
|
- Resolves: rhbz#214555 icu.icu5500.devicetablecrash.patch
|
||||||
|
|
||||||
* Thu Oct 18 2006 Caolan McNamara <caolanm@redhat.com> - 3.6-9
|
* Thu Oct 18 2006 Caolan McNamara <caolanm@redhat.com> - 3.6-9
|
||||||
- Resolves: rhbz#213648 extend prev/next to handle ZWJ
|
- Resolves: rhbz#213648 extend prev/next to handle ZWJ
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user