aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2022-01-13 10:40:15 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2022-01-13 10:41:12 +0100
commitfd410172bfba4812e10aa1b62f8b332450dde785 (patch)
tree681da575e27dca2c70d34eb876fe65972b0219d1
parentbc518cf152977eb397cde1f194f1c15013203c41 (diff)
iu_client: Fix incorrect access to null pointer
Fixes: adec82f3b1c725e8a70d327b9592940fbdeaaff7 Closes: Coverity CID#243765 Related: OS#5398 Change-Id: Ib435b053241c294619c3478fe3b6450d8d181888
-rw-r--r--src/iu_client.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/iu_client.c b/src/iu_client.c
index 7d29903..077ac27 100644
--- a/src/iu_client.c
+++ b/src/iu_client.c
@@ -462,8 +462,7 @@ int ranap_iu_tx(struct msgb *msg_nas, uint8_t sapi)
struct osmo_scu_prim *prim;
if (!uectx) {
- LOGPIU(LOGL_ERROR, "Discarding to-be-transmitted L3 Message as RANAP DT with unset dst SCCP conn_id!\n",
- uectx->conn_id);
+ LOGPIU(LOGL_ERROR, "Discarding to-be-transmitted L3 Message as RANAP DT with unset dst SCCP conn_id!\n");
return -ENOTCONN;
}