From: Arran Cudbard-Bell Date: Wed, 18 Sep 2019 16:06:17 +0000 (-0500) Subject: As per comment X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a88f3c97cafe70bb75ede02cc3aae46bacd76182;p=thirdparty%2Ffreeradius-server.git As per comment --- diff --git a/src/modules/rlm_eap/types/rlm_eap_sim/rlm_eap_sim.c b/src/modules/rlm_eap/types/rlm_eap_sim/rlm_eap_sim.c index b8355136e99..ef11e066d1c 100644 --- a/src/modules/rlm_eap/types/rlm_eap_sim/rlm_eap_sim.c +++ b/src/modules/rlm_eap/types/rlm_eap_sim/rlm_eap_sim.c @@ -1016,6 +1016,7 @@ static rlm_rcode_t mod_process(UNUSED void *instance, UNUSED void *thread, REQUE eap_sim_state_enter(eap_session, EAP_SIM_SERVER_FAILURE_NOTIFICATION); return RLM_MODULE_HANDLED; /* We need to process more packets */ } + if (!fr_cond_assert(0)) return RLM_MODULE_FAIL; /* Quiet the stupid compiler */ case EAP_SIM_CLIENT_ERROR: {