Skip to content

Comments

Fix a memory leak in the afalg engine#16744

Closed
bernd-edlinger wants to merge 3 commits intoopenssl:masterfrom
bernd-edlinger:fix_pr16743
Closed

Fix a memory leak in the afalg engine#16744
bernd-edlinger wants to merge 3 commits intoopenssl:masterfrom
bernd-edlinger:fix_pr16743

Conversation

@bernd-edlinger
Copy link
Member

Fixes: #16743

@bernd-edlinger bernd-edlinger added branch: master Applies to master branch branch: 1.1.1 Applies to OpenSSL_1_1_1-stable branch (EOL) branch: 3.0 Applies to openssl-3.0 branch labels Oct 4, 2021
@t8m t8m added approval: done This pull request has the required number of approvals triaged: bug The issue/pr is/fixes a bug labels Oct 5, 2021
@t8m
Copy link
Member

t8m commented Oct 5, 2021

Would you please add the testcase from #16743 ?

#endif


#ifndef OPENSSL_NO_AFALGENG
Copy link
Member

Choose a reason for hiding this comment

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

I suppose this part should not be removed, or?

Copy link
Member Author

Choose a reason for hiding this comment

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

this part is not necessary, so I removed it.
I tried with new kernel headers/old runtime kernel
and vice versa the test case is always passed.
ENGINE_by_id("afalg") != NULL should guarantee the engine is working.

@openssl-machine
Copy link
Collaborator

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set. Please review the updates and set the label manually.

@t8m t8m added approval: ready to merge The 24 hour grace period has passed, ready to merge and removed approval: done This pull request has the required number of approvals labels Oct 6, 2021
openssl-machine pushed a commit that referenced this pull request Oct 6, 2021
Fixes: #16743

Reviewed-by: Tomas Mraz <[email protected]>
(Merged from #16744)
openssl-machine pushed a commit that referenced this pull request Oct 6, 2021
Fixes: #16743

Reviewed-by: Tomas Mraz <[email protected]>
(Merged from #16744)

(cherry picked from commit 6f6a5e0)
openssl-machine pushed a commit that referenced this pull request Oct 6, 2021
Fixes: #16743

Reviewed-by: Tomas Mraz <[email protected]>
(Merged from #16744)

(cherry picked from commit 6f6a5e0)
@bernd-edlinger
Copy link
Member Author

Merged to all branches. Thanks!