Skip to content

[bp/1.28] Fix leak in bssl-compat SSL_set_ocsp_response()#438

Merged
tedjpoole merged 1 commit intoenvoyproxy:release/v1.28from
tedjpoole:fix_ssl_set_ocsp_reponse_leak_1_28
Dec 9, 2025
Merged

[bp/1.28] Fix leak in bssl-compat SSL_set_ocsp_response()#438
tedjpoole merged 1 commit intoenvoyproxy:release/v1.28from
tedjpoole:fix_ssl_set_ocsp_reponse_leak_1_28

Conversation

@tedjpoole
Copy link
Copy Markdown
Contributor

Fixes a leak that can occur if multiple calls are made to SSL_set_ocsp_response() from within the same certificate selection callback (see SSL_CTX_set_select_certificate_cb()). Also added a utest that will show the leak when run under valgrind without the fix.

Signed-off-by: Ted Poole <tpoole@redhat.com>
@tedjpoole tedjpoole merged commit 6479e98 into envoyproxy:release/v1.28 Dec 9, 2025
2 checks passed
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