aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/rsl.c
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-05-25 17:28:05 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2019-05-26 17:59:37 +0000
commit0cb2829f17202941a205cd1c3ae1ec26823ad5f3 (patch)
treec3f86756f30c93be166b6c1f80a46eca09a6f1c6 /src/common/rsl.c
parentdfa3bb8a10e9fd12e583f9e996679836793a55bd (diff)
common/rsl.c: fix NULL-pointer dereference in rsl_rx_rll()
Change-Id: I07e39e69a42dd09841f5d03608ec0d0b2345139a Fixes: CID#198663 Null pointer dereferences
Diffstat (limited to 'src/common/rsl.c')
-rw-r--r--src/common/rsl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/rsl.c b/src/common/rsl.c
index 92575b52..f8c7daa2 100644
--- a/src/common/rsl.c
+++ b/src/common/rsl.c
@@ -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);
}