You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a bug in the format_user_id function in the upf/pfcp.c.
This causes a segmentation fault error when running in debug mode. This problem started occurring from stable/1.6.
In my opinion, the code can be fixed by modifying it so that the s0 pointer variable is provided as a parameter to the format function in the first if statement. Please refer to stable/1.4.
The text was updated successfully, but these errors were encountered:
if (v->imsi_len > 0)
s = format (s0, "IMSI:%U,", format_tbcd, v->imsi, v->imsi_len); // s --> s0
if (v->imei_len > 0)
s = format (s, "IMEI:%U,", format_tbcd, v->imei, v->imei_len); // s0 --> s
if (v->msisdn_len > 0)
s = format (s, "MSISDN:%U,", format_tbcd, v->msisdn, v->msisdn_len);
if (vec_len (v->nai) > 0)
s = format (s, "NAI:%v,", v->nai);
There is a bug in the format_user_id function in the upf/pfcp.c.
This causes a segmentation fault error when running in debug mode. This problem started occurring from stable/1.6.
In my opinion, the code can be fixed by modifying it so that the s0 pointer variable is provided as a parameter to the format function in the first if statement. Please refer to stable/1.4.
The text was updated successfully, but these errors were encountered: