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

issues/522 - fix minimum buffer length check #523

Merged
merged 2 commits into from
Nov 17, 2023
Merged

issues/522 - fix minimum buffer length check #523

merged 2 commits into from
Nov 17, 2023

Conversation

cordellcalitz
Copy link
Contributor

Check that request buffer is at least 6 bytes long to allow proper extraction of payload length.

@yaacov yaacov linked an issue Nov 16, 2023 that may be closed by this pull request
@yaacov
Copy link
Owner

yaacov commented Nov 16, 2023

Thank you for the pull request 💚

package.json Outdated Show resolved Hide resolved
@yaacov yaacov merged commit 1b33c7c into yaacov:master Nov 17, 2023
2 checks passed
@cordellcalitz
Copy link
Contributor Author

@yaacov Are you planning to publish this fix to npm?

@yaacov
Copy link
Owner

yaacov commented Nov 23, 2023

@cordellcalitz
Copy link
Contributor Author

Awesome, thanks!

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.

Short requests (invalid length) can cause uncaught exceptions
2 participants