Bug 739995

Summary: NULL variable dereferencing
Product: Red Hat Enterprise Linux 6 Reporter: Michal Luscon <mluscon>
Component: clusterAssignee: Fabio Massimo Di Nitto <fdinitto>
Status: CLOSED NOTABUG QA Contact: Cluster QE <mspqa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2CC: ccaulfie, cluster-maint, lhh, ovasik, rpeterso, teigland
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-21 07:50:43 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:

Description Michal Luscon 2011-09-20 16:07:29 UTC
Description of problem:

/cman/lib/libcman.c:1010 - Dereferencing variable "name" before a null check(line #1013).

Version-Release number of selected component (if applicable):
cluster-3.0.12.1-19.el6

Additional info:
This defect was not present in the previous version of cluster package.

Comment 2 Fabio Massimo Di Nitto 2011-09-20 17:42:08 UTC
Moving to 6.3

That same exact code existed in libcman for approx 6 years. The issue is that it did move pristine from one function to another function internally to libcman.

One warning has for sure disappeared from cman_register_quorum_device and the new one is showing in the common function called cman_set_quorum_device.