Fix Savannah bug #36829.

* src/type1/t1load.c (parse_encoding): Check cursor position after
call to T1_Skip_PS_Token.
This commit is contained in:
Werner Lemberg 2012-07-18 10:38:37 +02:00
parent bc5bcecfd2
commit a8c243514c
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2012-07-13 Werner Lemberg <wl@gnu.org>
Fix Savannah bug #36829.
* src/type1/t1load.c (parse_encoding): Check cursor position after
call to T1_Skip_PS_Token.
2012-07-11 Alexei Podtelezhnikov <apodtele@gmail.com>
[ftstroke] Fix uninitialized return value.

View File

@ -1293,6 +1293,8 @@
parser->root.cursor = cur;
T1_Skip_PS_Token( parser );
if ( parser->root.cursor >= limit )
return;
if ( parser->root.error )
return;