We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Most of the functions that receive EVP_PKEY have a null check on pkey argument, like:
openssl/crypto/evp/p_lib.c
Line 41 in 1903a9b
Line 50 in 1903a9b
While a null check is missed in EVP_PKEY_missing_parameters:
EVP_PKEY_missing_parameters
Lines 106 to 108 in 1903a9b
We noticed it is possible the input of this function might be null. For example X509_get0_pubkey might return null:
X509_get0_pubkey
openssl/apps/ca.c
Lines 1917 to 1918 in 5388f98
We believe there should be a null check on pkey in EVP_PKEY_missing_parameters function, otherwise, there will be a NULL dereference.
pkey
Thanks!
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Most of the functions that receive EVP_PKEY have a null check on pkey argument, like:
openssl/crypto/evp/p_lib.c
Line 41 in 1903a9b
openssl/crypto/evp/p_lib.c
Line 50 in 1903a9b
While a null check is missed in
EVP_PKEY_missing_parameters
:openssl/crypto/evp/p_lib.c
Lines 106 to 108 in 1903a9b
We noticed it is possible the input of this function might be null. For example
X509_get0_pubkey
might return null:openssl/apps/ca.c
Lines 1917 to 1918 in 5388f98
We believe there should be a null check on
pkey
inEVP_PKEY_missing_parameters
function, otherwise, there will be a NULL dereference.Thanks!
The text was updated successfully, but these errors were encountered: