[Bug 1413084] Re: cvsps chokes on servers that print more than one "M" response to "version" command
Launchpad Bug Tracker
1413084 at bugs.launchpad.net
Wed Feb 25 22:48:47 UTC 2015
This bug was fixed in the package cvsps - 2.1-6ubuntu0.14.04.1
---------------
cvsps (2.1-6ubuntu0.14.04.1) trusty; urgency=medium
* Discard extra "M" response lines when reading the server's
version. (LP: #1413084)
-- Richard Hansen <ubuntu-a7x at scientician.org> Wed, 11 Feb 2015 12:13:52 -0800
** Changed in: cvsps (Ubuntu Trusty)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cvsps in Ubuntu.
https://bugs.launchpad.net/bugs/1413084
Title:
cvsps chokes on servers that print more than one "M" response to
"version" command
Status in cvsps package in Ubuntu:
Fix Released
Status in cvsps source package in Trusty:
Fix Released
Status in cvsps source package in Utopic:
Fix Released
Status in cvsps package in Debian:
New
Bug description:
[Impact]
If the CVS server prints more than one "M" response line to the
"version" command, cvsps (in --cvs-direct mode) prints "cvs_direct:
protocol error reading version" and fails to read the repository.
For example, cvsps does not like the following exchange:
Client: version
Server: M Concurrent Versions System (CVS) 1.12.13 (client/server)
Server: M with CVSACL Patch 1.2.5 (cvsacl.sourceforge.net)
Server: ok
(Note: cvsps has been deprecated upstream in favor of cvs-fast-export,
but it is still used by 'git cvsimport'.)
[Test Case]
Download and run the attached test script. The output looks like this
if the installed version of cvsps has the bug:
cvs_direct initialized to CVSROOT /foo
cvs_direct: protocol error reading version
ERROR: cvsps does not appear to work with multi-line version strings
and it looks like this if the bug has been fixed:
cvs_direct initialized to CVSROOT /foo
test passed
[Regression Potential]
No immediately obvious risks.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cvsps/+bug/1413084/+subscriptions
More information about the foundations-bugs
mailing list