[pshinter] Fix numeric overflow.

Reported as

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

* src/pshinter/pshrec.c (ps_dimension_add_t1stem): Implement it.
This commit is contained in:
Werner Lemberg 2018-11-06 11:15:31 +01:00
parent 5b86f53dd6
commit fbd2452346
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,13 @@
2018-11-06 Werner Lemberg <wl@gnu.org>
[pshinter] Fix numeric overflow.
Reported as
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11242
* src/pshinter/pshrec.c (ps_dimension_add_t1stem): Implement it.
2018-11-06 Werner Lemberg <wl@gnu.org>
[psaux] Fix timeout in old CFF engine.

View File

@ -666,7 +666,7 @@
if ( len == -21 )
{
flags |= PS_HINT_FLAG_BOTTOM;
pos += len;
pos = ADD_INT( pos, len );
}
len = 0;
}