Skip to content

Fix potential memory leak in RSAPSS#1184

Merged
jasonkatonica merged 1 commit intoIBM:java21from
jasonkatonica:katonica/issue1138/rsapssmemleak-java21
Feb 13, 2026
Merged

Fix potential memory leak in RSAPSS#1184
jasonkatonica merged 1 commit intoIBM:java21from
jasonkatonica:katonica/issue1138/rsapssmemleak-java21

Conversation

@jasonkatonica
Copy link
Member

When creating a new context with ICC_EVP_MD_CTX_new potential failures can occur. In the case that this API fails we should release the entire ockDigest structure upon failure.

Fixes: #1138

Back-ported from: #1169

Signed-off-by: Jason Katonica katonica@us.ibm.com

When creating a new context with ICC_EVP_MD_CTX_new potential failures
can occur. In the case that this API fails we should release the entire
ockDigest structure upon failure.

Fixes: IBM#1138

Back-ported from: IBM#1169

Signed-off-by: Jason Katonica <katonica@us.ibm.com>
@jasonkatonica jasonkatonica force-pushed the katonica/issue1138/rsapssmemleak-java21 branch from 565aacd to f93355f Compare February 13, 2026 18:20
@jasonkatonica jasonkatonica self-assigned this Feb 13, 2026
Copy link
Member

@KostasTsiounis KostasTsiounis left a comment

Choose a reason for hiding this comment

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

LGTM

@jasonkatonica jasonkatonica merged commit 67a91ef into IBM:java21 Feb 13, 2026
3 checks passed
@jasonkatonica jasonkatonica deleted the katonica/issue1138/rsapssmemleak-java21 branch February 13, 2026 21:28
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.

4 participants