* src/type1/t1load.c (parse_dict): Stop parsing if `eexec' keyword

is encountered.
This commit is contained in:
Werner Lemberg 2003-12-22 11:35:36 +00:00
parent 89f331b713
commit 63abb4bc63
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-12-21 Werner Lemberg <wl@gnu.org>
* src/type1/t1load.c (parse_dict): Stop parsing if `eexec' keyword
is encountered.
2003-12-19 Werner Lemberg <wl@gnu.org>
* src/cff/cfftypes.h (CFF_MAX_CID_FONTS): Increase to 32. For

View File

@ -1527,6 +1527,11 @@
parser->root.cursor = cur2;
}
/* look for `eexec' */
else if ( *cur == 'e' && cur + 5 < limit &&
ft_strncmp( (char*)cur, "eexec", 5 ) == 0 )
break;
/* look for `closefile' which ends the eexec section */
else if ( *cur == 'c' && cur + 9 < limit &&
ft_strncmp( (char*)cur, "closefile", 9 ) == 0 )