fixeria has uploaded this change for review.
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 Security Mode / Cipher
Mode Command and to change the state of the already finished FSM.
Change-Id: I73b3e2d7d4a39530f167ce8d2c93c72fe7ceaac2
Related: osmo-msc.git Ieff8adf92eedad3ca1e5e6d5c8fc750676cd0a42
---
M src/libvlr/vlr_access_req_fsm.c
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/43/44243/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 change 44243. To unsubscribe, or for help writing mail filters, visit settings.