[HarfBuzz] harfbuzz: Branch 'stable'
Behdad Esfahbod
behdad at kemper.freedesktop.org
Tue Apr 3 15:45:05 PDT 2007
src/harfbuzz-open.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
New commits:
diff-tree e0985c2deaf9af22a91e4b809459ab842ad7d85a (from 03e5277999d9366e2746481e01243cf32d4446e8)
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Tue Apr 3 18:44:42 2007 -0400
[harfbuzz-open] Fix GDEF type-2 class lookup array overflow
Reviewed by Simon Hausmann
diff --git a/src/harfbuzz-open.c b/src/harfbuzz-open.c
index e836df1..fa54040 100644
--- a/src/harfbuzz-open.c
+++ b/src/harfbuzz-open.c
@@ -1191,7 +1191,7 @@ static FT_Error Get_Class1( HB_ClassDef
*index = 0;
if ( glyphID >= cdf1->StartGlyph &&
- glyphID <= cdf1->StartGlyph + cdf1->GlyphCount )
+ glyphID < cdf1->StartGlyph + cdf1->GlyphCount )
{
*class = cva[glyphID - cdf1->StartGlyph];
return FT_Err_Ok;
More information about the HarfBuzz
mailing list