diff options
Diffstat (limited to 'freetype/src/cff/cffparse.c')
-rw-r--r-- | freetype/src/cff/cffparse.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/freetype/src/cff/cffparse.c b/freetype/src/cff/cffparse.c index 947ec9d34..01266a193 100644 --- a/freetype/src/cff/cffparse.c +++ b/freetype/src/cff/cffparse.c @@ -745,8 +745,10 @@ p++; for (;;) { + /* An unterminated floating point number at the */ + /* end of a dictionary is invalid but harmless. */ if ( p >= limit ) - goto Syntax_Error; + goto Exit; v = p[0] >> 4; if ( v == 15 ) break; |