Oops! Incorrect application of a patch...

This commit is contained in:
Werner Lemberg 2007-05-16 15:48:02 +00:00
parent 95bc9d3a07
commit d069246805
1 changed files with 4 additions and 0 deletions

View File

@ -271,7 +271,11 @@
n_points = 0;
if ( n_contours > 0 )
{
n_points = cont[-1] + 1;
if ( n_points < 0 )
goto Invalid_Outline;
}
/* note that we will add four phantom points later */
error = FT_GLYPHLOADER_CHECK_POINTS( gloader, n_points + 4, 0 );