ref: ea5b85629369679ffc003445f060a880fae9e61d
parent: b01676b223a16461acf508e9bb3d68ba8c8ae532
author: Werner Lemberg <[email protected]>
date: Sun Apr 24 17:50:41 EDT 2005
* src/otvalid/otvcommn.c (otv_GSUBGPOS_have_MarkAttachmentType_flag): Handle table == 0.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-04-24 Werner Lemberg <[email protected]>
+
+ * src/otvalid/otvcommn.c
+ (otv_GSUBGPOS_have_MarkAttachmentType_flag): Handle table == 0.
+
2005-04-16 Werner Lemberg <[email protected]>
* src/cff/cffobjs.c (cff_face_init): Set default upem value in top
--- a/src/otvalid/otvcommn.c
+++ b/src/otvalid/otvcommn.c
@@ -4,7 +4,7 @@
/* */
/* OpenType common tables validation (body). */
/* */
-/* Copyright 2004 by */
+/* Copyright 2004, 2005 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@@ -1018,6 +1018,9 @@
FT_Bytes p, lookup;
FT_UInt count;
+
+ if ( !table )
+ return 0;
/* LookupList */
p = table + 8;