[truetype] Integer overflow issues.

Reported as

  https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=7739

* src/truetype/ttinterp.c (Ins_CEILING): Use FT_PIX_CEIL_LONG.
This commit is contained in:
Werner Lemberg 2018-04-17 12:25:17 +02:00
parent 632a11f91f
commit 2a1597826a
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,13 @@
2018-04-17 Werner Lemberg <wl@gnu.org>
[truetype] Integer overflow issues.
Reported as
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=7739
* src/truetype/ttinterp.c (Ins_CEILING): Use FT_PIX_CEIL_LONG.
2018-04-16 Werner Lemberg <wl@gnu.org>
[truetype] Integer overflow issues.

View File

@ -2954,7 +2954,7 @@
static void
Ins_CEILING( FT_Long* args )
{
args[0] = FT_PIX_CEIL( args[0] );
args[0] = FT_PIX_CEIL_LONG( args[0] );
}