* src/truetype/ttgload.c (TT_Process_Simple_Glyph): Integer overflow.
Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=46792
This commit is contained in:
parent
978eefee54
commit
079a22da03
|
@ -1104,8 +1104,8 @@
|
|||
|
||||
for ( ; vec < limit; vec++, u++ )
|
||||
{
|
||||
vec->x = ( FT_MulFix( u->x, x_scale ) + 32 ) >> 6;
|
||||
vec->y = ( FT_MulFix( u->y, y_scale ) + 32 ) >> 6;
|
||||
vec->x = ADD_LONG( FT_MulFix( u->x, x_scale ), 32 ) >> 6;
|
||||
vec->y = ADD_LONG( FT_MulFix( u->y, y_scale ), 32 ) >> 6;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue