Bug 727913 - Coverity scan revealed defects
Summary: Coverity scan revealed defects
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ctdb
Version: 6.2
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: ---
Assignee: Sumit Bose
QA Contact: Cluster QE
Depends On:
Blocks: 743047
TreeView+ depends on / blocked
Reported: 2011-08-03 15:37 UTC by Michal Luscon
Modified: 2011-12-06 12:01 UTC (History)
3 users (show)

Fixed In Version: ctdb-
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2011-12-06 12:01:16 UTC

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1574 normal SHIPPED_LIVE ctdb bug fix and enhancement update 2011-12-06 00:39:03 UTC

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

ctdb- - (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- - Function "talloc_asprintf_append" without Null check (checked 4 out of 5 times). 

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

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.


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