aboutsummaryrefslogtreecommitdiff
path: root/freetype/src/psaux
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-11-10 15:49:48 +0100
committermarha <marha@users.sourceforge.net>2011-11-10 15:49:48 +0100
commitd783adea42f29bd7917929597ca1031b70587e1d (patch)
tree888ffc3043e659513c1760fdb7bd531810723afa /freetype/src/psaux
parentba1993a2eefbd475b13f373a861a401f06584cf8 (diff)
downloadvcxsrv-d783adea42f29bd7917929597ca1031b70587e1d.tar.gz
vcxsrv-d783adea42f29bd7917929597ca1031b70587e1d.tar.bz2
vcxsrv-d783adea42f29bd7917929597ca1031b70587e1d.zip
Updated to freetype 2.4.7
Diffstat (limited to 'freetype/src/psaux')
-rw-r--r--freetype/src/psaux/t1decode.c7
1 files changed, 7 insertions, 0 deletions
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 */