pango r2662 - in branches/pango-1-20: . pango/opentype



Author: behdad
Date: Sun Jun 29 18:30:36 2008
New Revision: 2662
URL: http://svn.gnome.org/viewvc/pango?rev=2662&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:
   branches/pango-1-20/ChangeLog
   branches/pango-1-20/pango/opentype/harfbuzz-gsub.c

Modified: branches/pango-1-20/pango/opentype/harfbuzz-gsub.c
==============================================================================
--- branches/pango-1-20/pango/opentype/harfbuzz-gsub.c	(original)
+++ branches/pango-1-20/pango/opentype/harfbuzz-gsub.c	Sun Jun 29 18:30:36 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]