From: Arran Cudbard-Bell Date: Wed, 30 Apr 2025 18:37:13 +0000 (-0400) Subject: Check we have a stack as is done elsewhere X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1ecaaa3a69bdbdff462c3ae3324c7e689312cb5;p=thirdparty%2Ffreeradius-server.git Check we have a stack as is done elsewhere --- diff --git a/src/lib/unlang/interpret.c b/src/lib/unlang/interpret.c index 040ab3f392..1418eebafa 100644 --- a/src/lib/unlang/interpret.c +++ b/src/lib/unlang/interpret.c @@ -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;