Change in osmo-bts[master]: common/rsl.c: fix NULL-pointer dereference in rsl_rx_rll()

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Sat May 25 10:28:53 UTC 2019


Vadim Yanitskiy has uploaded this change for review. ( https://gerrit.osmocom.org/14179


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

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

Change-Id: I07e39e69a42dd09841f5d03608ec0d0b2345139a
Fixes: CID#198663 Null pointer dereferences
---
M src/common/rsl.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/79/14179/1

diff --git a/src/common/rsl.c b/src/common/rsl.c
index cc653ce..5a12820 100644
--- a/src/common/rsl.c
+++ b/src/common/rsl.c
@@ -2608,8 +2608,8 @@
 
 	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);
 	}
 

-- 
To view, visit https://gerrit.osmocom.org/14179
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I07e39e69a42dd09841f5d03608ec0d0b2345139a
Gerrit-Change-Number: 14179
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190525/3cbaafd3/attachment.htm>


More information about the gerrit-log mailing list