For details see: http://bugzilla.novell.com/show_bug.cgi?id=153402 If the function GetScriptTags () frees *stags, it should set it to NULL, otherwise FcFontCapabilities () might try to free the same memory again. -------------- next part -------------- A non-text attachment was scrubbed... Name: bugzilla-153402-fc-cache-crash.patch Type: text/x-patch Size: 406 bytes Desc: not available Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20060224/1111f299/bugzilla-153402-fc-cache-crash.bin -------------- next part -------------- -- Mike FABIAN <mfabian@suse.de> http://www.suse.de/~mfabian ?????????????
Mike FABIAN wrote:> For details see: > > http://bugzilla.novell.com/show_bug.cgi?id=153402 > > If the function GetScriptTags () frees *stags, it should set it to > NULL, otherwise FcFontCapabilities () might try to free the same > memory again.Committed. Any idea how stable current CVS is? I''ve noticed a pleasing lack of complaints in the past week... pat
Frederic Crozat
2006-Feb-24 09:05 UTC
[Fontconfig] Patch: fc-cache crashes on some .ttc fonts
Le vendredi 24 f?vrier 2006 ? 11:42 -0500, Patrick Lam a ?crit :> Mike FABIAN wrote: > > For details see: > > > > http://bugzilla.novell.com/show_bug.cgi?id=153402 > > > > If the function GetScriptTags () frees *stags, it should set it to > > NULL, otherwise FcFontCapabilities () might try to free the same > > memory again. > > Committed. > > Any idea how stable current CVS is? I''ve noticed a pleasing lack of > complaints in the past week...I''ve uploaded cvs snapshot last monday on cooker and I didn''t got ANY complains (or nobody was able to start their graphical email program maybe ;).. -- Frederic Crozat <fcrozat@mandriva.com> Mandriva
Mike FABIAN
2006-Feb-24 09:06 UTC
[Fontconfig] Re: Patch: fc-cache crashes on some .ttc fonts
Patrick Lam <plam@MIT.EDU> ????????:> Mike FABIAN wrote: >> For details see: >> >> http://bugzilla.novell.com/show_bug.cgi?id=153402 >> >> If the function GetScriptTags () frees *stags, it should set it to >> NULL, otherwise FcFontCapabilities () might try to free the same >> memory again. > > Committed.Thank you!> Any idea how stable current CVS is? I''ve noticed a pleasing lack of > complaints in the past week...I didn''t encounter any serious problems any more during the last week until today. Today I updated to a new version of glibc and than ran into the crash with the double free. But apart from that I didn''t find any really serious problems. -- Mike FABIAN <mfabian@suse.de> http://www.suse.de/~mfabian ?????????????