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.
This commit is contained in:
Behdad Esfahbod 2008-06-29 18:30:14 +00:00 committed by Behdad Esfahbod
parent 7d6b95b000
commit b6c06c56a3
1 changed files with 1 additions and 1 deletions

View File

@ -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;