Skip to content

fix: prevent AF crash when requestedQoS is missing#198

Open
ErikGaida wants to merge 1 commit into
5G-MAG:developmentfrom
ErikGaida:bugfix/Network-Assistance
Open

fix: prevent AF crash when requestedQoS is missing#198
ErikGaida wants to merge 1 commit into
5G-MAG:developmentfrom
ErikGaida:bugfix/Network-Assistance

Conversation

@ErikGaida

Copy link
Copy Markdown
Contributor

Summary

NetworkAssistanceSession.requestedQoS has cardinality [0..1] and is therefore optional.

The code previously accessed subfields of requestedQoS without checking whether the object was present. When requestedQoS was omitted, this led to a NULL pointer dereference and caused the AF to crash.

Closes 2 Bugs Reported in #190

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant