freetype-devel
[Top][All Lists]
Advanced

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

[Devel] Bug in tt_face_load_hdmx


From: Owen Taylor
Subject: [Devel] Bug in tt_face_load_hdmx
Date: 25 Jun 2003 10:51:42 -0400

If tt_load_hdmx encounters a hdmx table with a version
other than 0 (a version of ArialMT with a version 256
hdmx table was found... not documented in the OpenType
spec so possibly a font bug), then it avoids loading
the table out but leaves hdmx->num_records set, which 
will cause a crash when in tt_face_free_hdmx when it tries 
to loop over the records to free them.

The attached patch fixes in a straightforward way.

OK to commit?

Thanks,
                                        Owen

Attachment: freetype.diff
Description: Text Data


reply via email to

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