From 4e15b44864df0d3c6306a9bf354fea92147834df Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Mon, 13 Mar 2023 14:49:24 +0000 Subject: [PATCH] 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) --- ssl/quic/quic_impl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.47.3