* src/base/ftoutln.c (FT_Outline_Decompose): Check `last'.

This commit is contained in:
Werner Lemberg 2007-06-06 04:39:37 +00:00
parent e5c14d93b8
commit 2a2dca6b40
2 changed files with 7 additions and 1 deletions

View File

@ -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.

View File

@ -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];