* src/base/ftoutln.c (FT_Outline_Decompose): Check `last'.
This commit is contained in:
parent
e5c14d93b8
commit
2a2dca6b40
|
@ -1,3 +1,7 @@
|
|||
2007-06-06 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/base/ftoutln.c (FT_Outline_Decompose): Check `last'.
|
||||
|
||||
2007-06-05 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/pfr/pfrgload.c (pfr_glyph_done): Comment out unused code.
|
||||
|
|
|
@ -83,7 +83,9 @@
|
|||
FT_Int last; /* index of last point in contour */
|
||||
|
||||
|
||||
last = outline->contours[n];
|
||||
last = outline->contours[n];
|
||||
if ( last < 0 )
|
||||
goto Invalid_Outline;
|
||||
limit = outline->points + last;
|
||||
|
||||
v_start = outline->points[first];
|
||||
|
|
Loading…
Reference in New Issue