Skip to content

Commit

Permalink
Fix: PE: Prevent use of uninitialized data
Browse files Browse the repository at this point in the history
  • Loading branch information
beekhof committed Jun 3, 2015
1 parent 853dc84 commit 0b4f1ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pengine/allocate.c
Expand Up @@ -227,7 +227,7 @@ check_action_definition(resource_t * rsc, node_t * active_node, xmlNode * xml_op

const char *task = crm_element_value(xml_op, XML_LRM_ATTR_TASK);
const char *op_version;
const char *digest_secure;
const char *digest_secure = NULL;

CRM_CHECK(active_node != NULL, return FALSE);
if (safe_str_eq(task, RSC_STOP)) {
Expand Down

0 comments on commit 0b4f1ec

Please sign in to comment.