From: Matt Caswell Date: Mon, 13 Mar 2023 14:49:24 +0000 (+0000) Subject: Fix seg fault when calling SSL_shutdown() for a QUIC connection X-Git-Tag: openssl-3.2.0-alpha1~1134 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4e15b44864df0d3c6306a9bf354fea92147834df;p=thirdparty%2Fopenssl.git Fix seg fault when calling SSL_shutdown() for a QUIC connection Reviewed-by: Tomas Mraz Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/20514) --- diff --git a/ssl/quic/quic_impl.c b/ssl/quic/quic_impl.c index ba6a863e38f..12099043ff7 100644 --- a/ssl/quic/quic_impl.c +++ b/ssl/quic/quic_impl.c @@ -510,7 +510,7 @@ int ossl_quic_conn_shutdown(QUIC_CONNECTION *qc, uint64_t flags, return 1; if (blocking_mode(qc) && (flags & SSL_SHUTDOWN_FLAG_RAPID) == 0) - block_until_pred(qc, quic_shutdown_wait, NULL, 0); + block_until_pred(qc, quic_shutdown_wait, qc, 0); else ossl_quic_reactor_tick(ossl_quic_channel_get_reactor(qc->ch));