summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openbsc/src/libmsc/gsm_sup.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/openbsc/src/libmsc/gsm_sup.c b/openbsc/src/libmsc/gsm_sup.c
index ab17664..000944b 100644
--- a/openbsc/src/libmsc/gsm_sup.c
+++ b/openbsc/src/libmsc/gsm_sup.c
@@ -115,6 +115,12 @@ static int subscr_handle_sup_upd_loc_res(struct gsm_subscriber *subscr,
{
uint8_t msisdn_lv[10];
+ if (!subscr->group) {
+ LOGGSUBSCRP(LOGL_ERROR, subscr,
+ "Update location result was received, but LUR procedure timedout.\n");
+ return -1;
+ }
+
if (gsup_msg->msisdn_enc) {
if (gsup_msg->msisdn_enc_len > sizeof(msisdn_lv) - 1) {
LOGP(DSUP, LOGL_ERROR, "MSISDN too long (%zu)\n",