Re: Second 4.6.0 release candidate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 27, 2006 at 07:22:51AM +0100, Andrew C Aitchison wrote:
>On Sun, 26 Mar 2006, David Dawes wrote:
>
>> While looking into this, I did find a bug in fontconfig where memory
>> could get freed twice.  I don't see the same symptoms, but this problem
>> does happen in code paths that get used when slanting a font.  I'm
>> committing the patch now.  Let me know if it makes a difference for you.
>
>Thanks.
>When should I expect this to make it into anoncvs.xfree86.org or 
>http://cvsweb.xfree86.org/cvsweb/xc/ 
>(I see that it has made it to http://www.xfree86.org/cvs/changes.html) ?

It shoud be there by now, but if it isn't, I've attached the patch (forgot
to do that last night).

David
-- 
David Dawes                                     X-Oz Technologies
www.XFree86.org/~dawes                          www.x-oz.com
Index: extras/fontconfig//src/fccfg.c
===================================================================
RCS file: /home/x-cvs/xc/extras/fontconfig/src/fccfg.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- extras/fontconfig//src/fccfg.c	3 May 2005 20:43:27 -0000	1.3
+++ extras/fontconfig//src/fccfg.c	27 Mar 2006 01:32:46 -0000	1.4
@@ -675,6 +675,7 @@
 	r = FcPatternGet (p, e->u.field, 0, &v);
 	if (r != FcResultMatch)
 	    v.type = FcTypeVoid;
+	v = FcValueSave (v);
 	break;
     case FcOpConst:
 	if (FcNameConstant (e->u.constant, &v.u.i))

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [X Forum]     [XFree86]     [XFree86 Newbie]     [X.Org]     [IETF Annouce]     [Security]     [Fontconfig]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux