bug-cvs
[Top][All Lists]
Advanced

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

Re: SIGSEGV in error.c:155 using cvs-1.11.6


From: Paul Edwards
Subject: Re: SIGSEGV in error.c:155 using cvs-1.11.6
Date: Sat, 28 Jun 2003 11:57:10 GMT

"Larry Jones" <address@hidden> wrote in message news:address@hidden
> > The corresponding core dump on the server indicated that the segfault
> > occurred when strlen was called with a NULL argument in error.c at line
> > 155.
>
> I can't reproduce this.  Could you post a full traceback?

I didn't attempt to reproduce it, but from the traceback provided,
I think you want this:

Index: commit.c
===================================================================
RCS file: /cvs/ccvs/src/commit.c,v
retrieving revision 1.187.4.6
diff -c -r1.187.4.6 commit.c
*** commit.c 23 May 2003 03:55:53 -0000 1.187.4.6
--- commit.c 28 Jun 2003 11:56:06 -0000
***************
*** 1779,1784 ****
--- 1779,1785 ----
      int save_really_quiet;

      rcs = locate_rcs ( repository, file, NULL );
+     if (rcs == NULL) return;
      save_really_quiet = really_quiet;
      really_quiet = 1;
      if ((rcsfile = RCS_parsercsfile (rcs)) == NULL)




reply via email to

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