freetype
[Top][All Lists]
Advanced

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

[Freetype] crash in 2.0.2


From: herbert duerr
Subject: [Freetype] crash in 2.0.2
Date: Mon, 02 Apr 2001 17:59:03 +0200

Hi all,
I tripped over some chinese fonts that also
crash freetype 2.0.2. Here is the fix:

--- ttload.c.orig  Mon Apr  2 17:51:59 2001
+++ ttload.c    Mon Apr  2 17:52:34 2001
@@ -751,7 +751,7 @@
       /* fonts usually only, nothing serious will happen        */
       if ( num_shorts > num_shorts_checked && num_shorts_checked > 0 )
       {
-        FT_Short  val = *(shorts)[num_shorts_checked - 1];
+        FT_Short  val = (*shorts)[num_shorts_checked - 1];
 
 
         limit = *shorts + num_shorts;

-- 
Best regards / Mit freundlichen Gruessen,
Herbert Duerr
email:  address@hidden
phone:  +49 (0)40 23646 971



reply via email to

[Prev in Thread] Current Thread [Next in Thread]