I'm using:
Concurrent Versions System (CVS) 1.12.13-devel (client/server)

Example:
$ /usr/local/bin/cvs -d /tmp/test init
Segmentation fault: 11 (core dumped)

I've tracked this down to an uninitialized variable getting passed to
getdelim() and attached the relevant patch to this bug report.

This doesn't seem to happen to glibc platforms but other platforms are
probably affected as well.

Regards,
Carlos
--- src/myndbm.c.orig	2010-04-08 02:08:48.000000000 +0000
+++ src/myndbm.c	2010-04-08 02:08:33.000000000 +0000
@@ -213,7 +213,7 @@
 mydbm_load_file (FILE *fp, List *list, char *filename)
 {
     char *line = NULL;
-    size_t line_size;
+    size_t line_size = 0;
     char *value;
     size_t value_allocated;
     char *cp, *vp;
_______________________________________________
Bug-cvs mailing list
Bug-cvs@nongnu.org
http://lists.nongnu.org/mailman/listinfo/bug-cvs

Reply via email to