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

Don't crash encoding a public key with no public key value #16911

Closed
wants to merge 2 commits into from

Commits on Oct 25, 2021

  1. Don't crash encoding a public key with no public key value

    If asked to encode an EC_KEY public key, but no public key value is present
    in the structure, we should fail rather than crash.
    
    Fixes the crash seen here:
    https://mta.openssl.org/pipermail/openssl-users/2021-October/014479.html
    mattcaswell committed Oct 25, 2021
    Copy the full SHA
    0f72062 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    06f5819 View commit details
    Browse the repository at this point in the history