* 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
msbuild-test
Werner Lemberg 1 year ago
parent 50740b37ba
commit 9bf72966ed
  1. 3
      src/truetype/ttgxvar.c

@ -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…
Cancel
Save