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

#4343: EC_KEY_priv2buf (): check parameter sanity #739

Closed
wants to merge 1 commit into from

Conversation

ajmohan
Copy link
Contributor

@ajmohan ajmohan commented Feb 24, 2016

In EC_KEY_priv2buf(), check for pbuf sanity.
If invoked with NULL, gracefully returns the key length.

In EC_KEY_priv2buf(), check for pbuf sanity.
If invoked with NULL, gracefully returns the key length.
@ajmohan ajmohan changed the title EC_KEY_priv2buf (): check parameter sanity #4343: EC_KEY_priv2buf (): check parameter sanity Feb 24, 2016
@richsalz richsalz self-assigned this Feb 24, 2016
@mattcaswell
Copy link
Member

+1

@mattcaswell mattcaswell added the approval: done This pull request has the required number of approvals label Feb 26, 2016
@richsalz
Copy link
Contributor

commit acae59b pushed; thanks!

@richsalz richsalz closed this Feb 26, 2016
@ajmohan ajmohan deleted the ecky_prm_chk branch February 26, 2016 16:28
@richsalz
Copy link
Contributor

We're going to revert this. If a pointer should be NULL, crash. :)
Just FYI.
Eventually we'll annotate API declarations with NONNULL attributes.

@ajmohan
Copy link
Contributor Author

ajmohan commented Feb 27, 2016

I understand. I saw a good discussion on dev-list. Thanks.

@richsalz
Copy link
Contributor

great, thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approval: done This pull request has the required number of approvals
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants