* src/psaux/cffdecode.c (cff_operaor_seac): Fix numeric overflow.

Reported as

  https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11915
This commit is contained in:
Werner Lemberg 2018-12-25 19:24:06 +01:00
parent ec439711b1
commit 5e02965905
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2018-12-25 Werner Lemberg <wl@gnu.org>
* src/psaux/cffdecode.c (cff_operaor_seac): Fix numeric overflow.
Reported as
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11915
2018-12-12 Werner Lemberg <wl@gnu.org>
[gxvalid] Fix compiler warnings.

View File

@ -235,8 +235,8 @@
return FT_THROW( Syntax_Error );
}
adx += decoder->builder.left_bearing.x;
ady += decoder->builder.left_bearing.y;
adx = ADD_LONG( adx, decoder->builder.left_bearing.x );
ady = ADD_LONG( ady, decoder->builder.left_bearing.y );
#ifdef FT_CONFIG_OPTION_INCREMENTAL
/* Incremental fonts don't necessarily have valid charsets. */