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

Correct pointer to be freed #2312

Closed
wants to merge 1 commit into from

Conversation

levitte
Copy link
Member

@levitte levitte commented Jan 28, 2017

The pointer that was freed in the SSLv2 section of ssl_bytes_to_cipher_list
may have stepped up from its allocated position. Use a pointer that is
guaranteed to point at the start of the allocated block instead.

Checklist
  • CLA is signed

The pointer that was freed in the SSLv2 section of ssl_bytes_to_cipher_list
may have stepped up from its allocated position.  Use a pointer that is
guaranteed to point at the start of the allocated block instead.
@levitte levitte added 1.1.0 branch: master Merge to master branch labels Jan 28, 2017
@levitte
Copy link
Member Author

levitte commented Jan 28, 2017

Fortunately, the error section will never currently be reached, because current preconditions guarantee that the checks will never fail.

levitte added a commit that referenced this pull request Jan 28, 2017
The pointer that was freed in the SSLv2 section of ssl_bytes_to_cipher_list
may have stepped up from its allocated position.  Use a pointer that is
guaranteed to point at the start of the allocated block instead.

Reviewed-by: Kurt Roeckx <kurt@openssl.org>
(Merged from #2312)
levitte added a commit that referenced this pull request Jan 28, 2017
The pointer that was freed in the SSLv2 section of ssl_bytes_to_cipher_list
may have stepped up from its allocated position.  Use a pointer that is
guaranteed to point at the start of the allocated block instead.

Reviewed-by: Kurt Roeckx <kurt@openssl.org>
(Merged from #2312)
(cherry picked from commit 63414e6)
@levitte
Copy link
Member Author

levitte commented Jan 28, 2017

Merged.

master: 63414e6
1.1.0: 6f2de02

@levitte levitte closed this Jan 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch: master Merge to master branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants