From d783adea42f29bd7917929597ca1031b70587e1d Mon Sep 17 00:00:00 2001 From: marha Date: Thu, 10 Nov 2011 15:49:48 +0100 Subject: Updated to freetype 2.4.7 --- freetype/src/psaux/t1decode.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'freetype/src/psaux/t1decode.c') diff --git a/freetype/src/psaux/t1decode.c b/freetype/src/psaux/t1decode.c index 90874f022..b3ccbdde0 100644 --- a/freetype/src/psaux/t1decode.c +++ b/freetype/src/psaux/t1decode.c @@ -764,6 +764,13 @@ if ( arg_cnt != 0 ) goto Unexpected_OtherSubr; + if ( decoder->flex_state == 0 ) + { + FT_ERROR(( "t1_decoder_parse_charstrings:" + " missing flex start\n" )); + goto Syntax_Error; + } + /* note that we should not add a point for index 0; */ /* this will move our current position to the flex */ /* point without adding any point to the outline */ -- cgit v1.2.3