]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Check we have a stack as is done elsewhere
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 30 Apr 2025 18:37:13 +0000 (14:37 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 30 Apr 2025 20:22:51 +0000 (16:22 -0400)
src/lib/unlang/interpret.c

index 040ab3f3928615ea7a12e585342fb5c5ec1f45b6..1418eebafaa29a69218d54b1887b173412d6edeb 100644 (file)
@@ -1152,7 +1152,7 @@ void unlang_interpret_signal(request_t *request, fr_signal_t action)
                /*
                 *      If the request is yielded, mark it as runnable
                 */
-               if (is_yielded(&stack->frame[stack->depth]) && !unlang_request_is_scheduled(request)) {
+               if (stack && is_yielded(&stack->frame[stack->depth]) && !unlang_request_is_scheduled(request)) {
                        unlang_interpret_mark_runnable(request);
                }
                break;