Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
pacemaker.3577
pacemaker-fencing-commands-use-after-free.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pacemaker-fencing-commands-use-after-free.patch of Package pacemaker.3577
commit 93b9f2c30dd4b03265b34c13175f142bf270202a Author: Klaus Wenninger <klaus.wenninger@aon.at> Date: Thu Jan 14 17:18:29 2016 +0100 Fix: fencing: free only after last usage makes coverity happy diff --git a/fencing/commands.c b/fencing/commands.c index e933404..5eb6eff 100644 --- a/fencing/commands.c +++ b/fencing/commands.c @@ -1224,8 +1224,8 @@ stonith_level_register(xmlNode *msg, char **desc) /* Sanity-check arguments */ if (mode >= 3 || (id <= 0) || (id >= ST_LEVEL_MAX)) { - free(target); crm_trace("Could not add %s[%d] (%d) to the topology (%d active entries)", target, id, mode, g_hash_table_size(topology)); + free(target); crm_log_xml_err(level, "Bad topology"); return -EINVAL; }
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