Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
sbd.2097
bug-950415_sbd-pacemaker-segfault.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bug-950415_sbd-pacemaker-segfault.patch of Package sbd.2097
diff --git a/src/sbd-pacemaker.c b/src/sbd-pacemaker.c index 1ca412c..dce2a03 100644 --- a/src/sbd-pacemaker.c +++ b/src/sbd-pacemaker.c @@ -313,12 +313,12 @@ compute_status(pe_working_set_t * data_set) node_t *node = pe_find_node(data_set->nodes, local_uname); - if (node->details->unclean) { + if (node && node->details && node->details->unclean) { LOGONCE(4, LOG_WARNING, "Node state: UNCLEAN"); - } else if (node->details->pending) { + } else if (node && node->details && node->details->pending) { LOGONCE(5, LOG_WARNING, "Node state: pending"); healthy = 2; - } else if (node->details->online) { + } else if (node && node->details && node->details->online) { LOGONCE(6, LOG_INFO, "Node state: online"); healthy = 1; } else {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor