common/rsl.c: fix NULL-pointer dereference in rsl_rx_rll()

Change-Id: I07e39e69a42dd09841f5d03608ec0d0b2345139a
Fixes: CID#198663 Null pointer dereferences
This commit is contained in:
Vadim Yanitskiy 2019-05-25 17:28:05 +07:00
parent dfa3bb8a10
commit 0cb2829f17
1 changed files with 2 additions and 2 deletions

View File

@ -2608,8 +2608,8 @@ static int rsl_rx_rll(struct gsm_bts_trx *trx, struct msgb *msg)
lchan = lchan_lookup(trx, rh->chan_nr, "RSL rx RLL: ");
if (!lchan) {
LOGPLCHAN(lchan, DRLL, LOGL_NOTICE, "Rx RLL %s for unknown lchan\n",
rsl_msg_name(rh->c.msg_type));
LOGP(DRLL, LOGL_NOTICE, "Rx RLL %s for unknown lchan\n",
rsl_msg_name(rh->c.msg_type));
return rsl_reject_unknown_lchan(msg);
}