You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OpenSSL-QUIC: memory leak when downgrading from HTTP/3 #14720
It is important that the server does not run HTTP/3 to force curl to downgrade. Without the downgrade (that said, no CURL_HTTP_VERSION_3), there is no leak.
Unfortunately, I just noticed that my initial fix caused an AV with a HTTP/3 connection. This one fixes the downgrade leak without the AV. Maybe it is a better option?
I added to the PR that the close only happens when the SSL* has been initialized. I think it is safer that "destroy" of the filter always cleans up, so callers should not worry.
Activity
[-]Memory leak when downgrading from HTTP/3[/-][+]OpenSSL-QUIC: memory leak when downgrading from HTTP/3[/+]openssl quic, fix memory leak
icing commentedon Aug 29, 2024
Thanks for the nice report and the fix. I have applied it in #14724.
ralfjunker commentedon Aug 29, 2024
Thanks for the fast feedback!
Unfortunately, I just noticed that my initial fix caused an AV with a HTTP/3 connection. This one fixes the downgrade leak without the AV. Maybe it is a better option?
icing commentedon Aug 29, 2024
I added to the PR that the close only happens when the SSL* has been initialized. I think it is safer that "destroy" of the filter always cleans up, so callers should not worry.
ralfjunker commentedon Aug 29, 2024
For the record: Your additional cleanup conditional in a2baa2b also fixes the AV.
openssl quic: fix memory leak