[Top][All Lists]

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

Max-dotdot not changed by -d option

From: Ludvig Borgne
Subject: Max-dotdot not changed by -d option
Date: Fri, 20 Dec 2002 11:38:35 +0100


Just joined this mailing list to be able to ask you this...

Using client/server CVS, when I do

  cvs checkout -d ../x x

I get an error message

  cvs server: protocol error: `../x' contains more leading ..
  cvs [server aborted]: than the 0 which Max-dotdot specified

I have looked through the FAQ and searched through the mailing
list archives, but not found anything that tells me if this is
due to a bug, or if it is a security feature.

I have had a look in the code (client.c), and I see that Max-
dotdot is set according the number of levels in the arguments
(x here) only, not according to the number of levels in the
directory given by the -d option (../x). So it's easy to see
why Max-dotdot is 0, which is why I get the error message.
Still, I don't understand if it's a bug or a feature. Maybe
someone out there can tell me?



Ludvig Borgne,  Prover Technology AB,  address@hidden,

reply via email to

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