diff options
author | marha <marha@users.sourceforge.net> | 2011-11-10 16:12:27 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-11-10 16:12:27 +0100 |
commit | 82e62cfbf79bc8c19946d034a0d5e14ce4fabb44 (patch) | |
tree | 16003af05805301a8a23d3ba0048e29eaf0fca73 /freetype/src/psaux | |
parent | 7381bc7b9f63b2a6bf9ea9cbe04614adfc4b2369 (diff) | |
parent | d783adea42f29bd7917929597ca1031b70587e1d (diff) | |
download | vcxsrv-82e62cfbf79bc8c19946d034a0d5e14ce4fabb44.tar.gz vcxsrv-82e62cfbf79bc8c19946d034a0d5e14ce4fabb44.tar.bz2 vcxsrv-82e62cfbf79bc8c19946d034a0d5e14ce4fabb44.zip |
Merge remote-tracking branch 'origin/released'
Diffstat (limited to 'freetype/src/psaux')
-rw-r--r-- | freetype/src/psaux/t1decode.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/freetype/src/psaux/t1decode.c b/freetype/src/psaux/t1decode.c index a8abc8731..6fa0a6a29 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 */ |