ref: fbd24523461d57d38bd040d842f9fba2690545cd
parent: 5b86f53dd60c7545dcea75684561199ac3d3e90f
author: Werner Lemberg <[email protected]>
date: Tue Nov 6 06:15:31 EST 2018
[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.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
2018-11-06 Werner Lemberg <[email protected]>
+ [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 <[email protected]>
+
[psaux] Fix timeout in old CFF engine.
Reported as
--- a/src/pshinter/pshrec.c
+++ b/src/pshinter/pshrec.c
@@ -666,7 +666,7 @@
if ( len == -21 )
{
flags |= PS_HINT_FLAG_BOTTOM;
- pos += len;
+ pos = ADD_INT( pos, len );
}
len = 0;
}