Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
pacemaker
pacemaker-crmd-message-clearing-failures.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pacemaker-crmd-message-clearing-failures.patch of Package pacemaker
commit c339a4ce3a58664a3fd0f36d5859ea7a85c9fce8 Author: Ken Gaillot <kgaillot@redhat.com> Date: Thu Feb 16 18:08:51 2017 -0600 Log: crmd: improve message when clearing failures This also involves a slight refactor to make future changes in failure handling easier. Index: pacemaker/crmd/messages.c =================================================================== --- pacemaker.orig/crmd/messages.c +++ pacemaker/crmd/messages.c @@ -629,6 +629,11 @@ handle_failcount_op(xmlNode * stored_msg rsc = ID(xml_rsc); } + if (rsc == NULL) { + crm_log_xml_warn(stored_msg, "invalid failcount op"); + return I_NULL; + } + uname = crm_element_value(stored_msg, XML_LRM_ATTR_TARGET); if (crm_element_value(stored_msg, XML_LRM_ATTR_ROUTER_NODE)) { is_remote_node = TRUE;
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