Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6424 - CVS 1.11.2 is an interim cvs release with busted server code.
Summary: CVS 1.11.2 is an interim cvs release with busted server code.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal with 2 votes (vote)
Assignee: J Robert Ray
URL:
Whiteboard:
Keywords:
Depends on: 14257
Blocks:
  Show dependency tree
 
Reported: 2002-08-13 16:19 UTC by Edward Roper
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Sorry, here's the patch. (cvs-1.11.2-hang-fix.diff,376 bytes, patch)
2002-11-10 19:06 UTC, Zach Bagnall
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Edward Roper 2002-08-13 16:19:31 UTC
CVS 1.11.2 has broken pserver+compression and ssh_rsh=ssh support. When acting
as a server it causes a blocking read to never exit. Please include an ebuild
for CVS1.11 which is stable and does not have this problem as an alternative.

2343287   cvs-1.11.tar.gz   2002-05-09   dprice   fd67a990423a0e9fa2fa1c3cf10f4356

Thanks
Comment 1 Bruce A. Locke (RETIRED) gentoo-dev 2002-08-17 20:46:47 UTC
Ok... I tossed cvs 1.11.1_p1 back in with the redhat system zlib patch.  I'm not
confident enough (and I have no way of testing) to confirm your bug and that our
older versions don't have it also.  (If there are any "me toos" lurking, feel
free to comment on this bug after its been closed and I'll reopen it).

So for now I'm leaving the current version unmasked and offering the older as an
alternative.

BTW, 1.11 is not safe due to the fact it uses an internal version of gzip with
known security issues (if my memory is correct)
Comment 2 Zach Bagnall 2002-11-10 19:04:48 UTC
A fix for this behavoir has been circulating since September and was committed
to ccvs CVS a couple of weeks ago. Here's the patch:

diff -ur cvs-1.11.2/src/buffer.c cvs-1.11.2-/src/buffer.c
--- cvs-1.11.2/src/buffer.c	2001-08-10 07:26:35.000000000 +1200
+++ cvs-1.11.2-/src/buffer.c	2002-10-15 21:43:31.000000000 +1300
@@ -1378,8 +1378,7 @@
 
     if (buf->input)
     {
-
if (! buf_empty_p (buf)
-
    || getc (bc->fp) != EOF)
+
if (! buf_empty_p (buf))
 	{
 # ifdef SERVER_SUPPORT
 	    if (server_active)


Here's the ccvs diff:

http://ccvs.cvshome.org/source/browse/ccvs/src/buffer.c.diff?r1=1.19&r2=1.20
Comment 3 Zach Bagnall 2002-11-10 19:06:08 UTC
Created attachment 5562 [details, diff]
Sorry, here's the patch.
Comment 4 Bruce A. Locke (RETIRED) gentoo-dev 2002-12-06 04:19:11 UTC
Sorry, I'm inactive and these bugs should have been reassigned to someone else.

Bouncing to bug-wranglers.
Comment 5 J Robert Ray 2003-01-14 03:08:22 UTC
1.11.4 is out now with a fix for this, perhaps a bump is in order?
Comment 6 Maik Schreiber 2003-01-17 17:41:29 UTC
Bouncing back to bug-wranglers due to time constraints.
Comment 7 J Robert Ray 2003-01-20 17:10:42 UTC
This bug will be fixed when a new ebuild to fix a security bug is committed shortly.
Comment 8 Daniel Ahlberg (RETIRED) gentoo-dev 2003-01-21 03:01:46 UTC
1.11.5 commited.