* src/pshinter/pshrec.c (t2_hints_stems): Mask numeric overflow.
Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10215
This commit is contained in:
parent
fea435fbf8
commit
7b855ed9cf
@ -1,3 +1,11 @@
|
||||
2018-09-10 Armin Hasitzka <prince.cherusker@gmail.com>
|
||||
|
||||
* src/pshinter/pshrec.c (t2_hints_stems): Mask numeric overflow.
|
||||
|
||||
Reported as
|
||||
|
||||
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10215
|
||||
|
||||
2018-09-09 Ben Wagner <bungeman@google.com>
|
||||
|
||||
* builds/freetype.mk (refdoc-venv): Ensure python version (#54631).
|
||||
|
@ -1187,7 +1187,7 @@
|
||||
/* compute integer stem positions in font units */
|
||||
for ( n = 0; n < count * 2; n++ )
|
||||
{
|
||||
y += coords[n];
|
||||
y = ADD_LONG( y, coords[n] );
|
||||
stems[n] = FIXED_TO_INT( y );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user