Double-free bug in logmsg.c

Gerald Combs <[email protected]>
Newsgroups gmane.comp.version-control.cvs.general,gmane.comp.version-control.cvs.bugs
Message-ID <[email protected]>
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.

_______________________________________________
Info-cvs mailing list
[email protected]
http://mail.gnu.org/mailman/listinfo/info-cvs
cvs-logmsg-gerald.diff (text/plain, 259 B)
--- 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;
 }
 
 /*
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.