> Does the above check aim to bound memory allocation to up to > table->alloc_total_max? If that is the case, should the check be the > following instead: > > if ( table->bound_total && > table->alloc_total_max - table->alloc_current < (FT_ULong)size ) > return NULL;
Honestly, I've never used this. David Turner has written the code, but he has no more time to handle FreeType issues. It's easily possible that you've found a bug. Please test whether your patch is the right one. Werner _______________________________________________ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel