From 9861be4eef925ec1751765f8138ad81e0632234f Mon Sep 17 00:00:00 2001 From: Bernd Edlinger Date: Fri, 27 Dec 2024 13:56:06 +0100 Subject: use-of-uninitialized-value in quic_tserver_test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #26277 Reviewed-by: Saša Nedvědický Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/26269) --- ssl/quic/quic_demux.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ssl/quic/quic_demux.c') diff --git a/ssl/quic/quic_demux.c b/ssl/quic/quic_demux.c index e3b5ca1918..145162c5bc 100644 --- a/ssl/quic/quic_demux.c +++ b/ssl/quic/quic_demux.c @@ -442,6 +442,7 @@ int ossl_quic_demux_inject(QUIC_DEMUX *demux, /* Move from free list to pending list. */ ossl_list_urxe_remove(&demux->urx_free, urxe); + urxe->datagram_id = demux->next_datagram_id++; ossl_list_urxe_insert_tail(&demux->urx_pending, urxe); urxe->demux_state = URXE_DEMUX_STATE_PENDING; -- cgit v1.2.3