mirror of
https://github.com/open5gs/open5gs.git
synced 2026-04-28 11:29:32 +00:00
Introduce protocol-specific bitrate ceiling values per 3GPP standards: - OGS_MAX_BITRATE_S1AP (TS 36.413 9.2.1.19) - OGS_MAX_BITRATE_NGAP (TS 38.414 9.3.1.4) Replace legacy MAX_BIT_RATE macro with explicit S1AP/NGAP limits and apply clamping for out-of-range or zero GBR/MBR/MFBR values. Add validation and assertions across AMF/SMF/MME QoS encoding paths: - Prevent invalid bitrate values from reaching NGAP/S1AP builders - Ensure safe fallback boundary rather than passing malformed values - Add sanity checks before ASN.1 encoding Fixes crash triggered during PDU Session Modification where extreme QoS parameters caused ASN.1 encoding failure and NULL N2SM buffer assertion (leading to process abort). Issues: #4184 |
||
|---|---|---|
| .. | ||
| app | ||
| asn1c | ||
| core | ||
| crypt | ||
| dbi | ||
| diameter | ||
| gtp | ||
| ipfw | ||
| metrics | ||
| nas | ||
| ngap | ||
| pfcp | ||
| proto | ||
| s1ap | ||
| sbi | ||
| sctp | ||
| tun | ||
| meson.build | ||