Bug 727916

Summary: Coverity scan revealed defects
Product: Red Hat Enterprise Linux 6 Reporter: Michal Luscon <mluscon>
Component: libcacardAssignee: Alon Levy <alevy>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2CC: cmeadors, dblechte, ddumas, kdudka, ovasik, tpelka, uril
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libcacard-0.15.0-2.el6 Doc Type: Bug Fix
Doc Text:
No documentation needed. The bug was filed during development and never affected customers. In "Additional info" of the Description, (#c0) it mentions that those coverity problems "were added between RHEL-6.1 and RHEL-6.2". Since these problems are fixed in RHEL-6.2, customers were never affected. Some coverity problems were found and fixed.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 15:25:03 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: 748554    

Description Michal Luscon 2011-08-03 16:11:06 UTC
Description of problem:

/qemu-0.15.0-rc0/libcacard/cac.c:269 - On this path, the condition "pki_applet_data == NULL" cannot be false.

/qemu-0.15.0-rc0/libcacard/vscclient.c:359 - Missing return in the true branch of "if (sock < 0)" statement. 

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

Additional info:
These defects were added between RHEL-6.1 and RHEL-6.2 version of package.

Comment 16 Alon Levy 2011-11-21 10:30:13 UTC
Adding technical note.

Comment 17 Alon Levy 2011-11-21 10:30:13 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:
some coverity problems were found and fixed.

Comment 18 Uri Lublin 2011-11-21 10:38:14 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1,7 @@
-some coverity problems were found and fixed.+No documentation needed.
+
+The bug was filed during development and never affected customers.
+
+In "Additional info" of the Description, (#c0) it mentions that those coverity problems "were added between RHEL-6.1 and RHEL-6.2". Since these problems are fixed in RHEL-6.2, customers  were never affected.
+
+Some coverity problems were found and fixed.

Comment 19 errata-xmlrpc 2011-12-06 15:25:03 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-1518.html