Bug 734721

Summary: Coverity defects newly introduced in RHEL6.2 (netcf)
Product: Red Hat Enterprise Linux 6 Reporter: Pavel Raiskup <praiskup>
Component: netcfAssignee: Laine Stump <laine>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2CC: dyuan, rwu
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-06 17:56:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Pavel Raiskup 2011-08-31 09:36:56 UTC
1) Use of uninitialized value 'nphys'

   => src/dutil_linux.c

   a) line 1022: declaring nphys
   b) line 1028: allocation of "bridge_node" failed
   c) line 1029: goto err;
   d) line 1055: for (ii = 0, ii < nphys, ..)

2) Use of uninitialized value "phys_names"

   => src/dutil_linux.c:1021

   the same situation as above. When xml_node fails, program jumps
   to line 1054 and tries to free uninitialized value.

These problems were newly found in RHEL 6.2 by coverity difference scan on RHEL packages 6.1 → 6.2.

Comment 2 Laine Stump 2011-09-06 17:56:51 UTC

*** This bug has been marked as a duplicate of bug 728184 ***