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

[Backport 3.6] Fix NULL argument handling in mbedtls_xxx_free() functions #9045

Open
wants to merge 2 commits into
base: mbedtls-3.6
Choose a base branch
from

Conversation

Troy-Butler
Copy link

@Troy-Butler Troy-Butler commented Apr 21, 2024

Description

Added conditional statements to mbedtls_xxx_free() functions to handle NULL arguments.
Resolves #8915
Relates to PR #8983

PR checklist

Please tick as appropriate and edit the reasons (e.g.: "backport: not needed because this is a new feature")

Signed-off-by: Troy-Butler <squintik@outlook.com>
Signed-off-by: Troy-Butler <squintik@outlook.com>
@davidhorstmann-arm davidhorstmann-arm changed the title Fix NULL argument handling in mbedtls_xxx_free() functions [Backport 3.6] Fix NULL argument handling in mbedtls_xxx_free() functions Apr 22, 2024
@gabor-mezei-arm gabor-mezei-arm added enhancement component-crypto Crypto primitives and low-level interfaces size-s Estimated task size: small (~2d) priority-medium Medium priority - this can be reviewed as time permits labels Apr 22, 2024
Copy link
Contributor

@gilles-peskine-arm gilles-peskine-arm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved as a straightforward backport of #8983

@gilles-peskine-arm gilles-peskine-arm added the needs-review Every commit must be reviewed by at least two team members, label Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component-crypto Crypto primitives and low-level interfaces enhancement needs-review Every commit must be reviewed by at least two team members, priority-medium Medium priority - this can be reviewed as time permits size-s Estimated task size: small (~2d)
Projects
Status: In Development
Development

Successfully merging this pull request may close these issues.

None yet

3 participants