From: Arran Cudbard-Bell Date: Mon, 19 Feb 2024 19:31:51 +0000 (-0600) Subject: Provide the request list to the map_afrom_attr_str else we crash when there are embed... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c3ebdb7f1a74fbdaa8cd014474f3be9ac0a709f;p=thirdparty%2Ffreeradius-server.git Provide the request list to the map_afrom_attr_str else we crash when there are embedded xlats in the map --- diff --git a/src/lib/unlang/xlat_builtin.c b/src/lib/unlang/xlat_builtin.c index 206830590df..87bcfb688f0 100644 --- a/src/lib/unlang/xlat_builtin.c +++ b/src/lib/unlang/xlat_builtin.c @@ -32,6 +32,7 @@ RCSID("$Id$") #include #include +#include #include #include #include @@ -1273,6 +1274,9 @@ static xlat_action_t xlat_func_map(TALLOC_CTX *ctx, fr_dcursor_t *out, .dict_def = request->dict, .list_def = request_attr_request, .prefix = TMPL_ATTR_REF_PREFIX_AUTO + }, + .xlat = { + .runtime_el = unlang_interpret_event_list(request) } };