From: Alan T. DeKok Date: Thu, 19 May 2022 23:06:13 +0000 (-0400) Subject: initialize more fields X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50cc4ed2a26c3b6ef3658e179898d2828b37f510;p=thirdparty%2Ffreeradius-server.git initialize more fields --- diff --git a/src/lib/unlang/xlat_purify.c b/src/lib/unlang/xlat_purify.c index 5e2c7c65761..c07860b507b 100644 --- a/src/lib/unlang/xlat_purify.c +++ b/src/lib/unlang/xlat_purify.c @@ -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;