pango r2661 - in trunk: . pango/opentype



Author: behdad
Date: Sun Jun 29 18:30:14 2008
New Revision: 2661
URL: http://svn.gnome.org/viewvc/pango?rev=2661&view=rev

Log:
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.



Modified:
   trunk/ChangeLog
   trunk/pango/opentype/harfbuzz-gsub.c

Modified: trunk/pango/opentype/harfbuzz-gsub.c
==============================================================================
--- trunk/pango/opentype/harfbuzz-gsub.c	(original)
+++ trunk/pango/opentype/harfbuzz-gsub.c	Sun Jun 29 18:30:14 2008
@@ -4218,7 +4218,7 @@
 	if ( error == HB_Err_Not_Covered )
 	  buffer->in_pos--;
       }
-      while (buffer->in_pos);
+      while ((HB_Int) buffer->in_pos >= 0);
 
       return retError;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]