Directories removed - projects have been moved into Fedora.
[fedora-mingw.git] / freetype / freetype-2.2.1-memcpy-fix.patch
1 --- freetype-2.2.1/src/psaux/psobjs.c~  2006-04-26 16:38:17.000000000 +0200
2 +++ freetype-2.2.1/src/psaux/psobjs.c   2006-09-10 15:01:13.000000000 +0200
3 @@ -165,6 +165,11 @@
4        return PSaux_Err_Invalid_Argument;
5      }
6  
7 +    if ( length < 0 ) {
8 +      FT_ERROR(( "ps_table_add: invalid length\n" ));
9 +      return PSaux_Err_Invalid_Argument;
10 +    }
11 +
12      /* grow the base block if needed */
13      if ( table->cursor + length > table->capacity )
14      {