open5gs/src
Daniel Willmann ef60207c1e [SMF] Fix Gx/Gy assert() if more than 64 CCRs are sent
The current code uses the cc request number as an index to the
transaction array (xact/xact_data). Since cc request number is a 32 bit
integer this is unfeasible for longer sessions and if more than a
handful of messages are exchanged per session.

The array size was already increased in #2038 which simply delays the
issue.
Furthermore, the current code asserts that cc_request_number is <=
MAX_CC_REQUEST_NUMBER which leads to an out-of-bounds write if
cc_request_number == MAX_CC_REQUEST_NUMBER.

Instead use a smaller array and index into it using cc_request_number
% array size. More than 2 requests should never be in flight at any one
time (initial or update request together with a termination request) so
an array size of 4 should be fine.
2023-06-21 22:07:32 +09:00
..
amf [AMF,SMF,PCF] Rename the function for calculating NF Instance load 2023-06-13 20:44:48 +09:00
ausf Fixed MacOSX compile error 2023-04-04 21:53:39 +09:00
bsf [SBI] Fixed an issue with FQDN/TLS (#2252) 2023-04-21 22:37:07 +09:00
hss [HSS] SWx: SAR & MAR: set mandatory User-Name on failure cases 2023-05-25 22:48:54 +09:00
mme [CORE] Rollback ogs_pool_init/final (#2339) 2023-05-28 22:50:28 +09:00
nrf Fixed MacOSX compile error 2023-04-04 21:53:39 +09:00
nssf [SBI] Fixed an issue with FQDN/TLS (#2252) 2023-04-21 22:37:07 +09:00
pcf [AMF,SMF,PCF] Rename the function for calculating NF Instance load 2023-06-13 20:44:48 +09:00
pcrf [LOG] remove ogs_expect_or_return()/return_val() 2023-01-24 00:01:36 +09:00
scp [SBI] Fixed a bug with encoder/decoder of scpPorts 2023-05-14 07:05:23 +09:00
sgwc [PFCP] Support PFCP advertise address in F-SEID 2023-05-25 22:46:52 +09:00
sgwu [PFCP] Support PFCP advertise address in F-SEID 2023-05-25 22:46:52 +09:00
smf [SMF] Fix Gx/Gy assert() if more than 64 CCRs are sent 2023-06-21 22:07:32 +09:00
udm Fixed MacOSX compile error 2023-04-04 21:53:39 +09:00
udr Fixed MacOSX compile error 2023-04-04 21:53:39 +09:00
upf [PFCP] Support PFCP advertise address in F-SEID 2023-05-25 22:46:52 +09:00
main.c [SBI] Remove one octet length in FQDN (#1333) 2022-01-23 13:49:03 +09:00
meson.build Prometheus metrics set to default 2022-11-21 22:06:29 +09:00