From: Arran Cudbard-Bell Date: Sun, 21 Mar 2021 22:08:13 +0000 (+0000) Subject: Return should not return _through_ the current module X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3b42836ec1e29c5265905214684e8decfd18081;p=thirdparty%2Ffreeradius-server.git Return should not return _through_ the current module --- diff --git a/src/lib/unlang/module.c b/src/lib/unlang/module.c index 1eb03b8a345..82a452ee251 100644 --- a/src/lib/unlang/module.c +++ b/src/lib/unlang/module.c @@ -809,6 +809,11 @@ static unlang_action_t unlang_module(rlm_rcode_t *p_result, request_t *request, goto done; } + /* + * Don't allow returning _through_ modules + */ + return_point_set(unlang_current_frame(request)); + /* * For logging unresponsive children. */