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 normalizeHeaderValue #1963

Merged
merged 1 commit into from
Feb 22, 2025
Merged

Fix normalizeHeaderValue #1963

merged 1 commit into from
Feb 22, 2025

Conversation

erikdubbelboer
Copy link
Collaborator

The fuzzer found some cases where it would panic.

The output of normalizeHeaderValue doesn't need to affect s.b and s.hLen because the length of the normalized header will never be bigger, so it can just be normalize in place without affecting the rest of the buffer.

The fuzzer found some cases where it would panic.

The output of normalizeHeaderValue doesn't need to affect s.b and s.hLen
because the length of the normalized header will never be bigger, so it
can just be normalize in place without affecting the rest of the buffer.
@erikdubbelboer erikdubbelboer merged commit b8969ed into master Feb 22, 2025
14 of 15 checks passed
@erikdubbelboer erikdubbelboer deleted the fix-normalizeHeaderValue branch February 22, 2025 07:34
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