sup: fix handling update location result message
If LUR procedure timed out, we should just skip update location result message.
This commit is contained in:
parent
991691f8df
commit
e5e251c396
|
@ -259,6 +259,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",
|
||||
|
|
Loading…
Reference in New Issue