Bug 727913 - Coverity scan revealed defects
Summary: Coverity scan revealed defects
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ctdb
Version: 6.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Sumit Bose
QA Contact: Cluster QE
URL:
Whiteboard:
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-1.0.114.3-2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 12:01:16 UTC


Attachments (Terms of Use)


Links
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-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


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