This simple patch seems to prevent the possibility of a crash in 'cvs
release'. The source is from CVS 1.10.7.

Kris

Index: release.c
===================================================================
RCS file: /home/ncvs/src/contrib/cvs/src/release.c,v
retrieving revision 1.1.1.5
diff -u -r1.1.1.5 release.c
--- release.c   1999/12/11 12:23:52     1.1.1.5
+++ release.c   2000/07/12 01:21:38
@@ -190,7 +190,7 @@
            {
                if (strchr ("MARCZ", *line))
                    c++;
-               (void) printf (line);
+               (void) printf ("%s", line);
            }
            if (line_length < 0 && !feof (fp))
                error (0, errno, "cannot read from subprocess");

--
In God we Trust -- all others must submit an X.509 certificate.
    -- Charles Forsythe <[EMAIL PROTECTED]>

Reply via email to