forked from acouzens/open5gs
NULL-pointer sgw_ue context is accessed (#18)
This commit is contained in:
parent
b8cc130bf5
commit
f5582c97b5
|
@ -212,11 +212,10 @@ static int _gtpv1_u_recv_cb(sock_id sock, void *data)
|
|||
d_assert(bearer->sess->sgw_ue, pkbuf_free(pkbuf); return 0,
|
||||
"SGW_UE is NULL");
|
||||
|
||||
d_trace(3, "[SGW] S1U PATH deactivated : STATE[0x%x]\n",
|
||||
SGW_GET_UE_STATE(sgw_ue));
|
||||
|
||||
sgw_ue = bearer->sess->sgw_ue;
|
||||
|
||||
d_trace(3, "[SGW] S1U PATH deactivated : STATE[0x%x]\n",
|
||||
SGW_GET_UE_STATE(sgw_ue));
|
||||
if ((SGW_GET_UE_STATE(sgw_ue) & SGW_S1U_INACTIVE))
|
||||
{
|
||||
d_trace(5, " SGW-S1U Inactive\n");
|
||||
|
|
Loading…
Reference in New Issue