Skip to content

Fix potential memory leak in RSAPSS#1186

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

Fix potential memory leak in RSAPSS#1186
jasonkatonica merged 1 commit intoIBM:java11from
jasonkatonica:katonica/issue1138/rsapssmemleak-java11

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-java11 branch from e1393b4 to b6a43fd Compare February 13, 2026 18:22
@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 2e83abf into IBM:java11 Feb 13, 2026
3 checks passed
@jasonkatonica jasonkatonica deleted the katonica/issue1138/rsapssmemleak-java11 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