* 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:
Werner Lemberg 2023-12-14 06:11:43 +01:00
parent 50740b37ba
commit 9bf72966ed

View File

@ -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;