commit | fff4dca0da454cdff4c8fab70b4a62c0674fb862 | [log] [tgz] |
---|---|---|
author | aPiecek <piecek@cesnet.cz> | Thu Oct 07 10:59:53 2021 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Mon Oct 11 14:26:01 2021 +0200 |
tree | dd0e6cde496e0961ed17a5d46b254696c0ba9eca | |
parent | 320f34305dd9c7d14af5f13bec18e477b37f5db8 [diff] [blame] |
xpath BUGFIX in eval_predicate Uninitialized local variable.
diff --git a/src/xpath.c b/src/xpath.c index 4d48a17..7f5a0d3 100644 --- a/src/xpath.c +++ b/src/xpath.c
@@ -6781,7 +6781,7 @@ uint16_t orig_exp; uint32_t i, orig_pos, orig_size; int32_t pred_in_ctx; - struct lyxp_set set2; + struct lyxp_set set2 = {0}; struct lyd_node *orig_parent; /* '[' */