updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / freetype2-cleartype / freetype-2.2.1-memcpy-fix.patch
blob67a1c0775841dd19f97a69b92e0cbd4da473de25
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;
7 + if ( length < 0 ) {
8 + FT_ERROR(( "ps_table_add: invalid length\n" ));
9 + return PSaux_Err_Invalid_Argument;
10 + }
12 /* grow the base block if needed */
13 if ( table->cursor + length > table->capacity )