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 memory leak in HDKF derive function #401

Merged

Conversation

jasonkatonica
Copy link
Member

@jasonkatonica jasonkatonica commented Dec 13, 2024

Storage was being obtained for a key value that was never freed. A memory leak would occur whenever the HKDF derive function was called.

Fixes #378

Back-ported from: #379

Signed-off-by: Jason Katonica [email protected]

Storage was being obtained for a key value that was never freed. A
memory leak would occur whenever the HKDF derive function was called.

Fixes IBM#378

Signed-off-by: Jason Katonica <[email protected]>
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 f9fe6fe into IBM:java21 Dec 16, 2024
3 checks passed
@jasonkatonica jasonkatonica deleted the katonica/issue378/leakinhkdf21 branch December 16, 2024 14:33
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