* src/otvalid/otvcommn.c

(otv_GSUBGPOS_have_MarkAttachmentType_flag): Handle table == 0.
This commit is contained in:
Werner Lemberg 2005-04-24 21:50:41 +00:00
parent a59ef5267d
commit 7a10462344
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-04-24 Werner Lemberg <wl@gnu.org>
* src/otvalid/otvcommn.c
(otv_GSUBGPOS_have_MarkAttachmentType_flag): Handle table == 0.
2005-04-16 Werner Lemberg <wl@gnu.org>
* src/cff/cffobjs.c (cff_face_init): Set default upem value in top

View File

@ -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, */
@ -1019,6 +1019,9 @@
FT_UInt count;
if ( !table )
return 0;
/* LookupList */
p = table + 8;
table += FT_NEXT_USHORT( p );