forked from acouzens/open5gs
cd76dc641d
The AMF will crash on the following locations when it receives a sequence of NAS messages from a UE. - ogs_nas_encrypt: Assertion `pkbuf->len' failed. (../lib/nas/common/security.c:86) - gmm_state_authentication: Assertion `r != OGS_ERROR' failed. (../src/amf/gmm-sm.c:1561) Besides the crashes found above, an incorrect protocol transition is identified in Open5GS. Without any Registration/Attach Request message, when the Identity Response message sent, the Core Network responds with an Authentication Request message. According to the standard, only the Registration/Attach Request message can start a state transition from the 5GMM/EMM-DEREGISTERED state to the 5GMM/EMM-COMMON-PROCEDURE-INITIATED. So I've modified the relevant code to address these issues. |
||
---|---|---|
.. | ||
app.c | ||
context.c | ||
context.h | ||
event.c | ||
event.h | ||
init.c | ||
meson.build | ||
nudr-handler.c | ||
nudr-handler.h | ||
sbi-path.c | ||
sbi-path.h | ||
udr-sm.c | ||
udr-sm.h |