gprs/gprs_llc: fix null pointer deref in gprs_llc_rcvmsg

Change-Id: I1f7e1d524042134c93a4f3de599c54d442447512
changes/88/3188/1
Alexander Couzens 6 years ago committed by Harald Welte
parent a173566b35
commit 58f446ca08
  1. 3
      openbsc/src/gprs/gprs_llc.c

@ -859,8 +859,7 @@ int gprs_llc_rcvmsg(struct msgb *msg, struct tlv_parsed *tv)
case GPRS_SAPI_SNDCP9:
case GPRS_SAPI_SNDCP11:
/* Ask an upper layer for help. */
return gsm0408_gprs_force_reattach_oldmsg(msg,
lle->llme);
return gsm0408_gprs_force_reattach_oldmsg(msg, NULL);
default:
break;
}

Loading…
Cancel
Save