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

Silence static analyser by validating pointer prior to function call #1107

Merged
merged 3 commits into from
Jul 20, 2023

Conversation

torben-hansen
Copy link
Contributor

Issues:

V963870416

Description of changes:

Attempts to silence the static analyser...

EC_KEY_get0_public_key doesn't validate the pointer argument and can de-reference NULL. This is common for the getters. Avoid changing that behaviour and just fix-up the speed tool code instead using a non-owning pointer.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.

nebeid
nebeid previously approved these changes Jul 19, 2023
samuel40791765
samuel40791765 previously approved these changes Jul 19, 2023
@torben-hansen torben-hansen enabled auto-merge (squash) July 19, 2023 19:50
@torben-hansen torben-hansen merged commit 769995e into aws:main Jul 20, 2023
@skmcgrail skmcgrail mentioned this pull request Aug 1, 2023
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.

3 participants