Skip to content

Commit fba2cbd

Browse files
committed
mme: handle malformed CreateSessionResponse without aborting
Replace fatal asserts in mme_s11_handle_create_session_response() with validation and a unified failure path. - Reject malformed/invalid IEs (Cause, TEID, PAA, AMBR, Bearer QoS) instead of aborting the MME process - Fix Bearer QoS length handling: treat mismatch as invalid IE and fail gracefully - Consolidate error handling via mme_s11_create_session_fail() and goto fail This prevents remote crashes triggered by malformed GTPv2-C CreateSessionResponse messages on S11. Issues: open5gs#4284
1 parent bd5f9b5 commit fba2cbd

File tree

1 file changed

+156
-136
lines changed

1 file changed

+156
-136
lines changed

0 commit comments

Comments
 (0)