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 Header::with_name failing unless length is 10 #2

Merged
merged 1 commit into from
May 10, 2023

Conversation

vilcans
Copy link
Contributor

@vilcans vilcans commented May 9, 2023

Without this, the with_name function fails with index out of range unless the given name is exactly 10 bytes.

@royaltm
Copy link
Owner

royaltm commented May 10, 2023

Good catch. Definitely a bug. Thanks for the fix!

@royaltm royaltm merged commit 2aa6579 into royaltm:master May 10, 2023
4 checks passed
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.

None yet

2 participants