]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Return should not return _through_ the current module
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 21 Mar 2021 22:08:13 +0000 (22:08 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 31 Mar 2021 15:08:26 +0000 (16:08 +0100)
src/lib/unlang/module.c

index 1eb03b8a345f294482c098c50f782c8985bfa3e6..82a452ee2516b39811d2301aec5ce8071eb8744e 100644 (file)
@@ -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.
         */