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: HeaderName::from_lowercase allowing NUL bytes in some cases #684

Merged
merged 1 commit into from Mar 4, 2024

Conversation

seanmonstar
Copy link
Member

If a byte slice larger than 64 bytes is passed to
HeaderName::from_lowercase, it could allow NUL bytes. This fixes the bug.

Reported-by: squirrel8@email.cz

If a byte slice larger than 64 bytes is passed to
`HeaderName::from_lowercase`, it could allow NUL bytes. This fixes the
bug.

Reported-by: squirrel8@email.cz
@seanmonstar seanmonstar merged commit 96dc52f into master Mar 4, 2024
10 checks passed
@seanmonstar seanmonstar deleted the fix-header-from-lowercase branch March 4, 2024 16:24
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

1 participant