* src/truetype/ttgxvar.c (ft_var_to_normalized): Integer overflow.

Reported as

  https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=66543
adjust
Werner Lemberg 10 months ago
parent 47574f7ea4
commit 546237e1bb
  1. 2
      src/truetype/ttgxvar.c

@ -2142,7 +2142,7 @@
innerIndex );
/* Convert to 16.16 format before adding. */
v += delta * 4;
v += MUL_INT( delta, 4 );
/* Clamp value range. */
v = v >= 0x10000L ? 0x10000 : v;

Loading…
Cancel
Save