CVE-2011-3922
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Tue, 5 Feb 2013 21:52:29 +0000 (21:52 +0000)
committerLisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Tue, 5 Feb 2013 21:52:29 +0000 (21:52 +0000)
Gbp-Pq: Name CVE-2011-3922.patch

src/3rdparty/harfbuzz/src/harfbuzz-myanmar.c

index 4b68e64d85545f94389acf252ac13708d69b6d99..203714b1a2049ccfd8a89b021af1d074998757bb 100644 (file)
@@ -359,6 +359,7 @@ static HB_Bool myanmar_shape_syllable(HB_Bool openType, HB_ShaperItem *item, HB_
         if (kinzi >= 0 && i > base && (cc & Mymr_CF_AFTER_KINZI)) {
             reordered[len] = Mymr_C_NGA;
             reordered[len+1] = Mymr_C_VIRAMA;
+            if (len > 0)
             properties[len-1] = AboveForm;
             properties[len] = AboveForm;
             len += 2;