Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix possible Subscription ID collision #23

Merged
merged 2 commits into from
Sep 5, 2023

Conversation

GKnirps
Copy link
Contributor

@GKnirps GKnirps commented Aug 11, 2023

  • created subscription ID was in the range of 0 to 100, leading to possible collisions
  • this change changes the range to up to 2^128
  • it also uses a cryptographically secure RNG (though this is probably not important here)
  • I also took the liberty to address some semi-unhandled error cases

- also used a cryptographically secure RNG, which is
  probably not that important here
@tim-ywliu tim-ywliu merged commit ec6e777 into free5gc:main Sep 5, 2023
4 checks passed
@GKnirps GKnirps deleted the subscription_id_collision branch September 5, 2023 14:14
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.

2 participants