* src/truetype/ttgxvar.c (tt_face_vary_cvt): Add size guard (#52688).
This commit is contained in:
parent
d062c54ce7
commit
2fe272aca6
|
@ -1,3 +1,7 @@
|
||||||
|
2017-12-18 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
|
* src/truetype/ttgxvar.c (tt_face_vary_cvt): Add size guard (#52688).
|
||||||
|
|
||||||
2017-12-18 Werner Lemberg <wl@gnu.org>
|
2017-12-18 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
[truetype] Fix previous commit.
|
[truetype] Fix previous commit.
|
||||||
|
|
|
@ -3110,7 +3110,10 @@
|
||||||
table_len,
|
table_len,
|
||||||
point_count == 0 ? face->cvt_size
|
point_count == 0 ? face->cvt_size
|
||||||
: point_count );
|
: point_count );
|
||||||
if ( !points || !deltas )
|
|
||||||
|
if ( !points ||
|
||||||
|
!deltas ||
|
||||||
|
( localpoints == ALL_POINTS && point_count != face->cvt_size ) )
|
||||||
; /* failure, ignore it */
|
; /* failure, ignore it */
|
||||||
|
|
||||||
else if ( localpoints == ALL_POINTS )
|
else if ( localpoints == ALL_POINTS )
|
||||||
|
|
Loading…
Reference in New Issue