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 SSLv2 deprecated header #383

Closed
wants to merge 1 commit into from
Closed

Fix SSLv2 deprecated header #383

wants to merge 1 commit into from

Conversation

ocheron
Copy link
Contributor

@ocheron ocheron commented Jul 14, 2019

Parsing the packet header was always failing because function
decodeDeprecatedHeader needs input no more than 3 bytes (or else
runGetErr returns a "remaining bytes" error). Limiting input to 3
bytes restores the correct behavior.

Parsing the packet header was always failing because function
decodeDeprecatedHeader needs input no more than 3 bytes (or else
runGetErr returns a "remaining bytes" error).  Limiting input to 3
bytes restores the correct behavior.
@kazu-yamamoto kazu-yamamoto self-requested a review July 16, 2019 05:33
Copy link
Collaborator

@kazu-yamamoto kazu-yamamoto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

kazu-yamamoto added a commit to kazu-yamamoto/hs-tls that referenced this pull request Jul 16, 2019
@kazu-yamamoto
Copy link
Collaborator

Merged.

@ocheron ocheron deleted the sslv2-hello branch July 17, 2019 18:08
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