Go to file
Sukchan Lee 0abfb204ea [SBI] crash when enum is unknown (#2622)
j
The crash is caused by ogs_assert(data) in listEntry_create(void *data).
Reason for the failing assertion is that in

OpenAPI_subscription_data_t *OpenAPI_subscription_data_parseFromJSON(
        cJSON *subscription_dataJSON)

in line 501 of file subscription_data.c the event string is transformed
into an integer/enum value, which in case of an unknown event is 0.

Steps to reproduce:

1. Deploy NRF
2. Run curl --http2-prior-knowledge --header "Content-Type: application/json" --data '{"nfStatusNotificationUri": "test@example.com", "reqNotifEvents": ["unknown"], "subscriptionId": "12345"}' "http://<NRF_IP>:<NRF_PORT>/nnrf-nfm/v1/subscriptions"
2023-09-24 09:56:40 +09:00
.github Add CIFuzz workflow 2023-07-12 22:34:05 +09:00
configs [AMF/MME] Defaults 9 minutes for T3412/T3512 2023-08-13 11:16:06 +09:00
debian Release v2.6.4 2023-05-21 08:50:12 +09:00
docker Prometheus metrics set to default 2022-11-21 22:06:29 +09:00
docs [WebUI] Fixed install script (#2619) 2023-09-19 21:00:44 +09:00
lib [SBI] crash when enum is unknown (#2622) 2023-09-24 09:56:40 +09:00
misc Update open5gs-dbctl 2023-09-05 07:10:39 +09:00
src [SBI] Fixed invalid format of subscrCond (#2630) 2023-09-24 09:01:59 +09:00
subprojects Fixed prometheus-client-c branch next to open5gs 2022-11-21 22:09:18 +09:00
tests [SBI] Fixed invalid format of subscrCond (#2630) 2023-09-24 09:01:59 +09:00
vagrant [WebUI] Update NodeJS installation Guide 2023-09-03 20:03:47 +09:00
webui [WebUI] Fixed a crash when editing Subscribe 2023-08-23 23:30:58 +09:00
.clang-tidy [MISC] Add support for static code analysis 2022-07-01 21:38:47 +09:00
.dockerignore [build] Use local sources to build applications (#1583) 2022-06-19 18:18:09 +09:00
.gitignore Initial metrics support based on Prometheus (#1571) 2022-06-08 05:51:02 +09:00
LICENSE Change LICENSE to GNU AGPL v3.0 2017-12-18 10:35:54 +09:00
README.md Update README.md 2022-10-18 22:34:38 +09:00
meson.build Release v2.6.4 2023-05-21 08:50:12 +09:00
meson_options.txt [Fuzzing] oss-fuzz support for fuzzing (#2283) 2023-05-05 17:20:11 +09:00

README.md

Open5GS logo

Getting Started

Please follow the documentation at open5gs.org!

Sponsors

If you find Open5GS useful for work, please consider supporting this Open Source project by Becoming a sponsor. To manage the funding transactions transparently, you can donate through OpenCollective.

sponsors

Community

  • Problem with Open5GS can be filed as issues in this repository.
  • Other topics related to this project are happening on the discussions.
  • Voice and text chat are available in Open5GS's Discord workspace. Use this link to get started.

Contributing

If you're contributing through a pull request to Open5GS project on GitHub, please read the Contributor License Agreement in advance.

License