]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
initialize more fields
authorAlan T. DeKok <aland@freeradius.org>
Thu, 19 May 2022 23:06:13 +0000 (19:06 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 20 May 2022 16:09:00 +0000 (12:09 -0400)
src/lib/unlang/xlat_purify.c

index 5e2c7c6576165113cd0f567d3dcf1913ff1c458d..c07860b507b08cfda94761756b0d04f2b77c83c4 100644 (file)
@@ -97,6 +97,7 @@ static int xlat_purify_list(xlat_exp_head_t *head, request_t *request)
                        break;
                        
                case XLAT_FUNC:
+                       fr_value_box_list_init(&list);
                        if (unlang_xlat_push_node(node->call.args, &success, &list, request, node) < 0) {
                                return -1;
                        }
@@ -116,6 +117,7 @@ static int xlat_purify_list(xlat_exp_head_t *head, request_t *request)
                        fr_dlist_talloc_free(&group->dlist);
                        node->type = XLAT_GROUP;
                        node->group = group;
+                       node->quote = T_BARE_WORD;
 
                        xlat_value_list_to_xlat(group, &list);
                        break;