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

Fix coverity errors #2781

Merged

Conversation

JuergenReppSIT
Copy link
Member

  • Possible out of bound array access in ima parser was fixed.
  • Possible null pointer access in error cases in fapi crypto is fixed.

The wrong size variable was used to check the out of bound access.

Signed-off-by: Juergen Repp <[email protected]>
* In the cleanup function for an ossl hash context the variables
  were not checked before calling the ossl cleanup functions.
* An unneded cast was removed.

Signed-off-by: Juergen Repp <[email protected]>
@JuergenReppSIT JuergenReppSIT merged commit 638f187 into tpm2-software:master Feb 27, 2024
25 checks passed
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.

2 participants