Bug 769298 - cvs assertion failure
Summary: cvs assertion failure
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: cvs
Version: 5.7
Hardware: All
OS: Linux
high
medium
Target Milestone: rc
: ---
Assignee: Petr Pisar
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks: 772956
TreeView+ depends on / blocked
 
Reported: 2011-12-20 13:23 UTC by Petr Sklenar
Modified: 2016-04-26 15:02 UTC (History)
5 users (show)

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.
Clone Of: 441694
Environment:
Last Closed: 2012-02-21 06:20:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
testcase (242 bytes, text/plain)
2011-12-20 15:25 UTC, Petr Pisar
no flags Details
Fix (52 bytes, text/plain)
2011-12-20 16:05 UTC, Petr Pisar
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0253 0 normal SHIPPED_LIVE cvs bug fix update 2012-02-20 15:07:01 UTC

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


Note You need to log in before you can comment on or make changes to this bug.