[Fontconfig] [PATCH] fix crashes on malformed fonts.cache

Dirk Mueller dmueller at suse.de
Wed Feb 1 11:12:15 PST 2006


This one fixes a memory overrun when a fonts.cache file is slightly malformed. 
other places probably need similiar fixes. 


2006-02-01  Dirk Mueller  <dmueller at suse.de>

	* fcfs.c (FcFontSetUnserialize): Make sure there is no
	integer overflow when reading the cache file.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: seife-crash.diff
Type: text/x-diff
Size: 1580 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20060201/097606a9/seife-crash.bin

More information about the Fontconfig mailing list