iu_client: Fix incorrect access to null pointer
Fixes: adec82f3b1
Closes: Coverity CID#243765
Related: OS#5398
Change-Id: Ib435b053241c294619c3478fe3b6450d8d181888
This commit is contained in:
parent
bc518cf152
commit
fd410172bf
|
@ -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…
Reference in New Issue