summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2016-08-30 18:51:50 +0200
committerHarald Welte <laforge@gnumonks.org>2016-09-05 13:36:01 +0000
commit58f446ca087406855c036e4259b088dfb253e824 (patch)
tree78a9e4e44900832814db8e9847339aae3fc58ba5
parenta173566b356d1ea108cc2ebc29caa89e7baa3c4c (diff)
gprs/gprs_llc: fix null pointer deref in gprs_llc_rcvmsg
-rw-r--r--openbsc/src/gprs/gprs_llc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/openbsc/src/gprs/gprs_llc.c b/openbsc/src/gprs/gprs_llc.c
index 32920daef..a2ffa51ae 100644
--- a/openbsc/src/gprs/gprs_llc.c
+++ b/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;
}