From: Nick Porter Date: Thu, 12 Sep 2024 19:18:58 +0000 (+0100) Subject: Skip to correct next frame when there is no matching 'catch' X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db8c47bda709b3440edd929d17b0f0af89b52599;p=thirdparty%2Ffreeradius-server.git Skip to correct next frame when there is no matching 'catch' --- diff --git a/src/lib/unlang/catch.c b/src/lib/unlang/catch.c index a5f5934e145..63686af8ff3 100644 --- a/src/lib/unlang/catch.c +++ b/src/lib/unlang/catch.c @@ -98,6 +98,7 @@ unlang_action_t unlang_interpret_skip_to_catch(rlm_rcode_t *p_result, request_t if (unlang->type != UNLANG_TYPE_CATCH) { REDEBUG("Failed to 'catch' error %s", fr_table_str_by_value(mod_rcode_table, *p_result, "")); + frame->next = unlang; return UNLANG_ACTION_CALCULATE_RESULT; }