Repository navigation
Fix a possible memleak in eckey_priv_encode - #22007
Closed
bernd-edlinger wants to merge 4 commits into
Closed
bernd-edlinger wants to merge 4 commits into
bernd-edlinger wants to merge 4 commits into
Conversation
Additionally use OPENSSL_clear_free on the private key data in case of error.
That seems to be only an issue for RSA-PSS with parameters. Spotted by code review, so it looks like there is no test coverage for this.
t8m
approved these changes
Sep 8, 2023
t8m
left a comment
Member
There was a problem hiding this comment.
OK, if you promise to create the patch for master.
Member
|
It needs review from committers ASAP if it should get into 1.1.1 |
hlandau
approved these changes
Sep 8, 2023
This was referenced Sep 8, 2023
Collaborator
|
This pull request is ready to merge |
Member
Author
|
Merged to 1.1.1 branch. Thanks! |
openssl-machine
pushed a commit
that referenced
this pull request
Sep 9, 2023
Additionally use OPENSSL_clear_free on the private key data in case of error. Reviewed-by: Tomas Mraz <[email protected]> Reviewed-by: Hugo Landau <[email protected]> (Merged from #22007)
openssl-machine
pushed a commit
that referenced
this pull request
Sep 9, 2023
That seems to be only an issue for RSA-PSS with parameters. Spotted by code review, so it looks like there is no test coverage for this. Reviewed-by: Tomas Mraz <[email protected]> Reviewed-by: Hugo Landau <[email protected]> (Merged from #22007)
wanghao75
pushed a commit
to openeuler-mirror/openssl
that referenced
this pull request
Sep 18, 2023
Additionally use OPENSSL_clear_free on the private key data in case of error. Reviewed-by: Tomas Mraz <[email protected]> Reviewed-by: Hugo Landau <[email protected]> (Merged from openssl/openssl#22007) Signed-off-by: Huiyue Xu <[email protected]>
wanghao75
pushed a commit
to openeuler-mirror/openssl
that referenced
this pull request
Sep 18, 2023
That seems to be only an issue for RSA-PSS with parameters. Spotted by code review, so it looks like there is no test coverage for this. Reviewed-by: Tomas Mraz <[email protected]> Reviewed-by: Hugo Landau <[email protected]> (Merged from openssl/openssl#22007) Signed-off-by: Huiyue Xu <[email protected]>
a-kromm-rogii
pushed a commit
to a-kromm-rogii/openssl
that referenced
this pull request
Mar 14, 2025
Additionally use OPENSSL_clear_free on the private key data in case of error. Reviewed-by: Tomas Mraz <[email protected]> Reviewed-by: Hugo Landau <[email protected]> (Merged from openssl#22007)
a-kromm-rogii
pushed a commit
to a-kromm-rogii/openssl
that referenced
this pull request
Mar 14, 2025
That seems to be only an issue for RSA-PSS with parameters. Spotted by code review, so it looks like there is no test coverage for this. Reviewed-by: Tomas Mraz <[email protected]> Reviewed-by: Hugo Landau <[email protected]> (Merged from openssl#22007)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Additionally use OPENSSL_clear_free on the private key data in case of error.
master has the memory leak already fixed, just the clear free on the private key is missing.