forked from acouzens/open5gs
0abfb204ea
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" |
||
---|---|---|
.. | ||
.openapi-generator | ||
external | ||
include | ||
model | ||
src | ||
.openapi-generator-ignore | ||
meson.build | ||
set.h |