Skip to content

openssl: fix peer certificate leak in channel binding#18917

Closed
bagder wants to merge 2 commits into
masterfrom
bagder/ossl-channel-binding
Closed

openssl: fix peer certificate leak in channel binding#18917
bagder wants to merge 2 commits into
masterfrom
bagder/ossl-channel-binding

Conversation

@bagder
Copy link
Copy Markdown
Member

@bagder bagder commented Oct 7, 2025

@github-actions github-actions Bot added the tests label Oct 7, 2025
@bagder bagder marked this pull request as ready for review October 7, 2025 15:55
@bagder
Copy link
Copy Markdown
Member Author

bagder commented Oct 8, 2025

So this new test case reveals a second, different, leak that also needs to be fixed...

@bagder
Copy link
Copy Markdown
Member Author

bagder commented Oct 8, 2025

This appears to be a memory leak inside heimdal as it does not reproduce with MIT krb5.

This might be a signal that we should discourage use of heimdal?

bagder added a commit that referenced this pull request Oct 8, 2025
The kerberos5 library Heimdal is one of three GSS libraries curl
support. It has a memory leak triggered by the new test in #18917 and
the project seems mostly abandoned.

Drop support and steer users to the MIT krb5 or GNU GSS libraries.
vszakats pushed a commit to vszakats/curl that referenced this pull request Oct 8, 2025
The kerberos5 library Heimdal is one of three GSS libraries curl support. It has a memory leak triggered by the new test in curl#18917 and the project seems mostly abandoned.

Drop support and steer users to the MIT krb5 or GNU GSS libraries.
vszakats pushed a commit to vszakats/curl that referenced this pull request Oct 8, 2025
The kerberos5 library Heimdal is one of three GSS libraries curl support. It has a memory leak triggered by the new test in curl#18917 and the project seems mostly abandoned.

Drop support and steer users to the MIT krb5 or GNU GSS libraries.
@testclutch
Copy link
Copy Markdown

Analysis of PR #18917 at 17755da0:

Test 1582 failed, which has NOT been flaky recently, so there could be a real issue in this PR. Note that this test has failed in 6 different CI jobs (the link just goes to one of them).

Test ../../tests/http/test_08_caddy.py::TestCaddy::test_08_03_download_1mb_parallel[h3] failed, which has NOT been flaky recently, so there could be a real issue in this PR.

Generated by Testclutch

vszakats pushed a commit to vszakats/curl that referenced this pull request Oct 8, 2025
The kerberos5 library Heimdal is one of three GSS libraries curl support. It has a memory leak triggered by the new test in curl#18917 and the project seems mostly abandoned.

Drop support and steer users to the MIT krb5 or GNU GSS libraries.
vszakats pushed a commit to vszakats/curl that referenced this pull request Oct 8, 2025
The kerberos5 library Heimdal is one of three GSS libraries curl support. It has a memory leak triggered by the new test in curl#18917 and the project seems mostly abandoned.

Drop support and steer users to the MIT krb5 or GNU GSS libraries.
vszakats pushed a commit to vszakats/curl that referenced this pull request Oct 8, 2025
The kerberos5 library Heimdal is one of three GSS libraries curl support. It has a memory leak triggered by the new test in curl#18917 and the project seems mostly abandoned.

Drop support and steer users to the MIT krb5 or GNU GSS libraries.
vszakats pushed a commit to vszakats/curl that referenced this pull request Oct 8, 2025
The kerberos5 library Heimdal is one of three GSS libraries curl support. It has a memory leak triggered by the new test in curl#18917 and the project seems mostly abandoned.

Drop support and steer users to the MIT krb5 or GNU GSS libraries.
vszakats pushed a commit to vszakats/curl that referenced this pull request Oct 9, 2025
The kerberos5 library Heimdal is one of three GSS libraries curl support. It has a memory leak triggered by the new test in curl#18917 and the project seems mostly abandoned.

Drop support and steer users to the MIT krb5 or GNU GSS libraries.
vszakats added a commit that referenced this pull request Oct 9, 2025
…n CI

The kerberos5 library Heimdal is one of three GSS libraries curl support.
It has a memory leak triggered by the new test in #18917 and the project
seems mostly abandoned.

Drop support and steer users to the MIT krb5 or GNU GSS libraries.

Co-authored-by: Daniel Stenberg

Ref: #18928
Closes #18928
Closes #18932
@bagder bagder force-pushed the bagder/ossl-channel-binding branch from 17755da to f35ebee Compare October 9, 2025 06:19
@bagder bagder closed this in 1ce6dff Oct 9, 2025
@bagder bagder deleted the bagder/ossl-channel-binding branch October 9, 2025 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants