summaryrefslogtreecommitdiffstats
path: root/ssl/quic
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2024-12-27 13:56:06 +0100
committerTomas Mraz <tomas@openssl.org>2025-01-06 20:46:08 +0100
commit9861be4eef925ec1751765f8138ad81e0632234f (patch)
treea1af491173b9d69ecb9628e7d83cd5b5a00525d3 /ssl/quic
parentFix a minor memory sanitizer issue (diff)
downloadopenssl-9861be4eef925ec1751765f8138ad81e0632234f.tar.xz
openssl-9861be4eef925ec1751765f8138ad81e0632234f.zip
use-of-uninitialized-value in quic_tserver_test
Fixes #26277 Reviewed-by: Saša Nedvědický <sashan@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/26269)
Diffstat (limited to '')
-rw-r--r--ssl/quic/quic_demux.c1
1 files changed, 1 insertions, 0 deletions
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;