[XS] Change in osmo-msc[master]: libvlr: add missing return in _proc_arq_vlr_node2()
fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-msc/+/44240?usp=email ) Change subject: libvlr: add missing return in _proc_arq_vlr_node2() ...................................................................... libvlr: add missing return in _proc_arq_vlr_node2() If auth_ciph_sec_ctx_use() fails, proc_arq_fsm_done() is called, but the function continues and attempts to send a Cipher Mode / Security Mode Command and to change the state of the already finished FSM. The LU FSM (vlr_lu_fsm.c) already returns in the same situation. Change-Id: Ieff8adf92eedad3ca1e5e6d5c8fc750676cd0a42 Related: osmo-sgsn.git I73b3e2d7d4a39530f167ce8d2c93c72fe7ceaac2 --- M src/libvlr/vlr_access_req_fsm.c 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/40/44240/1 diff --git a/src/libvlr/vlr_access_req_fsm.c b/src/libvlr/vlr_access_req_fsm.c index f68e5fc..f29fcdd 100644 --- a/src/libvlr/vlr_access_req_fsm.c +++ b/src/libvlr/vlr_access_req_fsm.c @@ -325,6 +325,7 @@ if (!auth_ciph_sec_ctx_use(vsub, par->key_seq)) { LOGPFSML(fi, LOGL_ERROR, "Cannot start ciphering, auth tuple not available, even when it should!\n"); proc_arq_fsm_done(fi, GSM48_REJECT_NETWORK_FAILURE); + return; } if (vlr_set_ciph_mode(vsub->vlr, fi, par->msc_conn_ref, -- To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/44240?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Change-Id: Ieff8adf92eedad3ca1e5e6d5c8fc750676cd0a42 Gerrit-Change-Number: 44240 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de>
participants (1)
-
fixeria