[base] Really fix #57194.
Apply accidentally missed second part of patch. * src/base/ftgloadr.c (FT_GlyphLoader_CheckPoints): Call `FT_GlyphLoader_CreateExtra'.
This commit is contained in:
parent
9df460b632
commit
d4f9c24989
|
@ -1,3 +1,12 @@
|
||||||
|
2019-11-23 John Stracke <jstracke@Google.com>
|
||||||
|
|
||||||
|
[base] Really fix #57194.
|
||||||
|
|
||||||
|
Apply accidentally missed second part of patch.
|
||||||
|
|
||||||
|
* src/base/ftgloadr.c (FT_GlyphLoader_CheckPoints): Call
|
||||||
|
`FT_GlyphLoader_CreateExtra'.
|
||||||
|
|
||||||
2019-11-23 Werner Lemberg <wl@gnu.org>
|
2019-11-23 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
[truetype] Avoid sanitizer warning (#57289).
|
[truetype] Avoid sanitizer warning (#57289).
|
||||||
|
|
|
@ -215,6 +215,10 @@
|
||||||
FT_UInt new_max, old_max;
|
FT_UInt new_max, old_max;
|
||||||
|
|
||||||
|
|
||||||
|
error = FT_GlyphLoader_CreateExtra( loader );
|
||||||
|
if ( error )
|
||||||
|
return error;
|
||||||
|
|
||||||
/* check points & tags */
|
/* check points & tags */
|
||||||
new_max = (FT_UInt)base->n_points + (FT_UInt)current->n_points +
|
new_max = (FT_UInt)base->n_points + (FT_UInt)current->n_points +
|
||||||
n_points;
|
n_points;
|
||||||
|
@ -248,6 +252,10 @@
|
||||||
loader->max_points = new_max;
|
loader->max_points = new_max;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
error = FT_GlyphLoader_CreateExtra( loader );
|
||||||
|
if ( error )
|
||||||
|
return error;
|
||||||
|
|
||||||
/* check contours */
|
/* check contours */
|
||||||
old_max = loader->max_contours;
|
old_max = loader->max_contours;
|
||||||
new_max = (FT_UInt)base->n_contours + (FT_UInt)current->n_contours +
|
new_max = (FT_UInt)base->n_contours + (FT_UInt)current->n_contours +
|
||||||
|
|
Loading…
Reference in New Issue