[Bug #7] Potential overflow on CVS server command line

[email protected] Sat, 20 Apr 2002 18:21:00 -0400
Newsgroups gmane.comp.gnu.savannah.devel
Message-ID <[email protected]>
Bug #7, was updated on 2002-Apr-19 14:15
Here is a current snapshot of the bug.

Project: savannah
Category:  CVS
Severity:  9 - Critical
Priority:  Low
Bug Group:  None
Resolution:  None
Assigned to:  loic
Status:  Open
Effort:  5.00
Summary:  Potential overflow on CVS server command line

Original Submission:  Savannah currently uses a standard cvs server. All the allowed root files are therefore passed as a lonmg series of "--allow-root /cvsroot/foo" options.

On Linux the size limit for a command line is 64 KBytes so at about say 40 chars per option, the command overflow will show up when we'll approach 1600 projects.

Follow-Ups:
**********

-------------------------------------------------------
Date: 2002-Apr-20 22:20
By: loic

Comment:
Applied the patch. A test server is available on port 2402.
cvs -d :pserver:[email protected]:/cvsroot/uri co uri


-------------------------------------------------------
Date: 2002-Apr-19 14:22
By: ljulliar

Comment:
I have already fixed this problem for CodeX at Xerox. We just need to apply a little patch to cvs (see attachement) which creates a new option called "--allow-root-file filename" where the file contains a list of allowed cvs root.

This file of allowed cvs roots will be generated by the Savannah background daemon.

For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=7&group_id=11