Bug 769298

Summary: cvs assertion failure
Product: Red Hat Enterprise Linux 5 Reporter: Petr Sklenar <psklenar>
Component: cvsAssignee: Petr Pisar <ppisar>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: high    
Version: 5.7CC: azelinka, jscotka, lmiksik, rvokal, tao
Target Milestone: rcKeywords: Patch, Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: cvs-1.11.22-11.el5 Doc Type: Bug Fix
Doc Text:
Cause Using `cvs rtag' command on repository with `.' component in repository path. Consequence CVS server hits assertion test and terminates. Fix The assertion check for `.' in path has been removed as cvs can process such patch safely now. Result `cvs rtag' proceeds on repositories with dot in CVSROOT path as expected.
Story Points: ---
Clone Of: 441694 Environment:
Last Closed: 2012-02-21 06:20:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 772956    
Attachments:
Description Flags
testcase
none
Fix none

Comment 2 Petr Pisar 2011-12-20 15:25:55 UTC
Created attachment 548865 [details]
testcase

This calls `cvs rtag' on CVSROOT with `/./' to trigger the assertion. This testcase touches current directory.

Comment 3 Petr Pisar 2011-12-20 15:53:24 UTC
RHEL-6 (cvs-1.11.23) not affected.

Comment 4 Petr Pisar 2011-12-20 16:05:27 UTC
Created attachment 548878 [details]
Fix

This is patch used in RHEL-4. It applies to RHEL-5 cvs cleanly and fixes this issue. It's in line with upstream development tree.

Comment 11 Petr Pisar 2012-01-03 12:50:52 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause
    Using `cvs rtag' command on repository with `.'
    component in repository path.
Consequence
    CVS server hits assertion test and terminates.
Fix
    The assertion check for `.' in path has been removed as
    cvs can process such patch safely now.
Result
    `cvs rtag' proceeds on repositories with dot in CVSROOT
    path as expected.

Comment 14 errata-xmlrpc 2012-02-21 06:20:13 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0253.html