[MPlayer-dev-eng] [PATCH] fix stack usage in libvo/font_load_ft.c
Rich Felker
dalias at aerifal.cx
Sat Jul 22 06:01:53 CEST 2006
On Fri, Jul 21, 2006 at 08:34:22PM +0000, Tobias Diedrich wrote:
> read_font_desc_ft allocates ~1MB on the stack on amd64
> (MAX_CHARSET_SIZE is 60000 and sizeof(FT_ULong) is 8).
WTF is FT using an unsigned long type for? Someone should tell them
they're being stupid and that they should use wchar_t, or just int.
They will never find a system that can run freetype with int less than
32 bits.
Rich
More information about the MPlayer-dev-eng
mailing list