From fd410172bfba4812e10aa1b62f8b332450dde785 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Thu, 13 Jan 2022 10:40:15 +0100 Subject: [PATCH] iu_client: Fix incorrect access to null pointer Fixes: adec82f3b1c725e8a70d327b9592940fbdeaaff7 Closes: Coverity CID#243765 Related: OS#5398 Change-Id: Ib435b053241c294619c3478fe3b6450d8d181888 --- src/iu_client.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/iu_client.c b/src/iu_client.c index 7d299030..077ac272 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; }