[HarfBuzz] harfbuzz: Branch 'master'
Behdad Esfahbod
behdad at kemper.freedesktop.org
Thu Oct 15 15:19:32 PDT 2009
src/harfbuzz-arabic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4db7e36f46b735f8801d393b356f9c8ed41c409c
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Thu Oct 15 15:18:37 2009 -0700
Bug 24540 arabicSyriacOpenTypeShape causes read past end of string in getArabicProperties
diff --git a/src/harfbuzz-arabic.c b/src/harfbuzz-arabic.c
index 0609232..4d85c19 100644
--- a/src/harfbuzz-arabic.c
+++ b/src/harfbuzz-arabic.c
@@ -1009,7 +1009,7 @@ static HB_Bool arabicSyriacOpenTypeShape(HB_ShaperItem *item, HB_Bool *ot_ok)
++l;
++properties;
}
- if (f + l < item->stringLength) {
+ if (f + l + item->item.pos < item->stringLength) {
++l;
}
getArabicProperties(uc+f, l, props);
More information about the HarfBuzz
mailing list