info-cvs
[Top][All Lists]
Advanced

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

Double-free bug in logmsg.c


From: Gerald Combs
Subject: Double-free bug in logmsg.c
Date: Sat, 17 Jan 2004 17:03:13 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031128

After running into segmentation faults and assertion failures in version
1.11.11, I managed to track down a double-free bug in logmsg.c.  A patch
against the 1.11.11 sources is attached.
--- logmsg.c.orig       2004-01-17 16:13:43.000000000 -0600
+++ logmsg.c    2004-01-17 16:14:12.000000000 -0600
@@ -551,6 +551,7 @@
        error (0, errno, "cannot remove %s", fname);
     free (fname);
     free( verifymsg_script );
+    verifymsg_script = NULL;
 }
 
 /*

reply via email to

[Prev in Thread] Current Thread [Next in Thread]