* src/cid/cidparse.c (cid_parser_new): Don't continue second search

pass for `StartData' if an error has occurred.
This commit is contained in:
Werner Lemberg 2007-06-01 06:32:30 +00:00
parent ba03af6f91
commit bebc7b11c5
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-06-01 Werner Lemberg <wl@gnu.org>
* src/cid/cidparse.c (cid_parser_new): Don't continue second search
pass for `StartData' if an error has occurred.
2007-05-30 Werner Lemberg <wl@gnu.org>
* src/type1/t1load.c (parse_subrs, parse_charstrings): Protect

View File

@ -165,7 +165,10 @@
while ( cur < limit )
{
if ( parser->root.error )
break;
{
error = parser->root.error;
goto Exit;
}
if ( cur[0] == 'S' && ft_strncmp( (char*)cur, "StartData", 9 ) == 0 )
{