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 authentication message decode #190

Merged
merged 1 commit into from
Aug 4, 2024

Conversation

plzfgme
Copy link
Contributor

@plzfgme plzfgme commented Aug 3, 2024

There is no length checking in decode_body of Authentication, it will cause error when buf is larger than actual message.

@sunng87
Copy link
Owner

sunng87 commented Aug 4, 2024

Good catch and thank you!

@sunng87 sunng87 merged commit 3a586b0 into sunng87:master Aug 4, 2024
6 checks passed
sunng87 pushed a commit that referenced this pull request Aug 4, 2024
sunng87 pushed a commit that referenced this pull request Aug 4, 2024
sunng87 added a commit that referenced this pull request Aug 5, 2024
Co-authored-by: plzfgme <49673377+plzfgme@users.noreply.github.com>
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