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
Sun May 26 17:59:37 UTC 2019


Vadim Yanitskiy has submitted this change and it was merged. ( 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(-)

Approvals:
  Vadim Yanitskiy: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/common/rsl.c b/src/common/rsl.c
index 92575b5..f8c7daa 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: merged
Gerrit-Change-Id: I07e39e69a42dd09841f5d03608ec0d0b2345139a
Gerrit-Change-Number: 14179
Gerrit-PatchSet: 2
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190526/70e48c81/attachment.htm>


More information about the gerrit-log mailing list