File CVE-2011-3922.patch of Package libqt4

diff -up src/3rdparty/harfbuzz/src/harfbuzz-myanmar.c.orig-2011-3922 src/3rdparty/harfbuzz/src/harfbuzz-myanmar.c
--- src/3rdparty/harfbuzz/src/harfbuzz-myanmar.c.orig-2011-3922	2008-09-27 10:58:44.000000000 +0200
+++ src/3rdparty/harfbuzz/src/harfbuzz-myanmar.c	2012-02-19 21:31:35.445450662 +0100
@@ -345,7 +345,8 @@ static HB_Bool myanmar_shape_syllable(HB
         if (kinzi >= 0 && i > base && (cc & Mymr_CF_AFTER_KINZI)) {
             reordered[len] = Mymr_C_NGA;
             reordered[len+1] = Mymr_C_VIRAMA;
-            properties[len-1] = AboveForm;
+            if (len > 0)
+                properties[len-1] = AboveForm;
             properties[len] = AboveForm;
             len += 2;
             kinzi = -1;
openSUSE Build Service is sponsored by