Skip to content

Conversation

@Zach1113
Copy link
Contributor

@Zach1113 Zach1113 commented Jan 6, 2026

This PR fixes two runtime panic issues in NF Discovery:

Issue #757:

  • Resolved a runtime panic that occurs when the gpsi parameter is shorter than 7 characters.
  • This fix uses the new functionality in free5gc/util/validator.
  • Note: This validation relies on a new feature in theutil package; it will become fully functional once the corresponding util PR is merged.

Issue #758:

  • Resolved a runtime panic triggered by an empty snssais query parameter.
  • Added a length and format check to validate the snssais string before performing slice operations.

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