iu_client: Fix incorrect access to null pointer

Fixes: adec82f3b1
Closes: Coverity CID#243765
Related: OS#5398
Change-Id: Ib435b053241c294619c3478fe3b6450d8d181888
changes/98/26898/1
Pau Espin 1 year ago
parent bc518cf152
commit fd410172bf
  1. 3
      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;
}

Loading…
Cancel
Save