[cff] Fix missing error handling.
Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9865 * src/psaux/cffparse.c (cff_parser_run) [CFF_CONFIG_OPTION_OLD_ENGINE]: Don't ignore return value of `parse_charstrings_old'.
This commit is contained in:
parent
ac2ea865f3
commit
1937b55734
12
ChangeLog
12
ChangeLog
|
@ -1,3 +1,15 @@
|
|||
2018-08-14 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[cff] Fix missing error handling.
|
||||
|
||||
Reported as
|
||||
|
||||
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9865
|
||||
|
||||
* src/psaux/cffparse.c (cff_parser_run)
|
||||
[CFF_CONFIG_OPTION_OLD_ENGINE]: Don't ignore return value of
|
||||
`parse_charstrings_old'.
|
||||
|
||||
2018-08-14 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||
|
||||
[bdf] Remove unused overflow storage.
|
||||
|
|
|
@ -1231,6 +1231,8 @@
|
|||
|
||||
error = psaux->cff_decoder_funcs->parse_charstrings_old(
|
||||
&decoder, charstring_base, charstring_len, 1 );
|
||||
if ( error )
|
||||
goto Exit;
|
||||
|
||||
/* Now copy the stack data in the temporary decoder object, */
|
||||
/* converting it back to charstring number representations */
|
||||
|
|
Loading…
Reference in New Issue