diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2008-06-29 18:30:36 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2008-06-29 18:30:36 +0000 |
commit | cef2efba6d5214f3de27e3896691d339bec588f4 (patch) | |
tree | c9c1506a04ee9f3519b3d1d85028b9e176c44250 | |
parent | e91af788e12fc7177a0d9d9ce95bf52117aede7a (diff) | |
download | pango-cef2efba6d5214f3de27e3896691d339bec588f4.tar.gz |
Bug 540592 – Crash in HB_GSUB_Apply_String with Linux-Libertine font
2008-06-29 Behdad Esfahbod <behdad@gnome.org>
Bug 540592 – Crash in HB_GSUB_Apply_String with Linux-Libertine font
* pango/opentype/harfbuzz-gsub.c (GSUB_Do_String_Lookup): Fix reverse
loops for type 8 lookups.
svn path=/branches/pango-1-20/; revision=2662
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | pango/opentype/harfbuzz-gsub.c | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2008-06-29 Behdad Esfahbod <behdad@gnome.org> + + Bug 540592 – Crash in HB_GSUB_Apply_String with Linux-Libertine font + + * pango/opentype/harfbuzz-gsub.c (GSUB_Do_String_Lookup): Fix reverse + loops for type 8 lookups. + 2008-05-23 Behdad Esfahbod <behdad@gnome.org> * === Released 1.20.3 === diff --git a/pango/opentype/harfbuzz-gsub.c b/pango/opentype/harfbuzz-gsub.c index 30d914ac..067122d6 100644 --- a/pango/opentype/harfbuzz-gsub.c +++ b/pango/opentype/harfbuzz-gsub.c @@ -4218,7 +4218,7 @@ static HB_Error GSUB_Do_String_Lookup( HB_GSUBHeader* gsub, if ( error == HB_Err_Not_Covered ) buffer->in_pos--; } - while (buffer->in_pos); + while ((HB_Int) buffer->in_pos >= 0); return retError; |