* src/truetype/ttgxvar.c (ft_var_to_normalized): Fix undefined left-shift.
Reported as https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=63723
This commit is contained in:
parent
50740b37ba
commit
9bf72966ed
@ -2141,7 +2141,8 @@
|
||||
outerIndex,
|
||||
innerIndex );
|
||||
|
||||
v += delta << 2;
|
||||
/* Convert to 16.16 format before adding. */
|
||||
v += delta * 4;
|
||||
|
||||
/* Clamp value range. */
|
||||
v = v >= 0x10000L ? 0x10000 : v;
|
||||
|
Loading…
Reference in New Issue
Block a user