Bug 727913

Summary: Coverity scan revealed defects
Product: Red Hat Enterprise Linux 6 Reporter: Michal Luscon <mluscon>
Component: ctdbAssignee: Sumit Bose <sbose>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2CC: dpal, kdudka, praiskup
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ctdb-1.0.114.3-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 12:01:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 743047    

Description Michal Luscon 2011-08-03 15:37:21 UTC
Description of problem:

ctdb-1.0.114.3/server/ctdb_takeover.c:2117 - (iface->link_up ? 0 : 2) < 4 is always true regardless of the values of its operands.

/lib/tdb/common/tdb.c:998 - This less-than-zero comparison of an unsigned value (size_t) is never true. "ret < 0UL".

/ctdb-1.0.114.3/tests/src/ctdb_fetch.c:84: - Function "talloc_asprintf_append" without Null check (checked 4 out of 5 times). 

Version-Release number of selected component (if applicable):
1.0.114.3

Additional info:

These defects were added between RHE-6.1 and RHEL-6.2 version of package.

Comment 16 errata-xmlrpc 2011-12-06 12:01:16 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-2011-1574.html