]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
use-of-uninitialized-value in quic_tserver_test
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Fri, 27 Dec 2024 12:56:06 +0000 (13:56 +0100)
committerTomas Mraz <tomas@openssl.org>
Mon, 6 Jan 2025 19:51:39 +0000 (20:51 +0100)
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)

(cherry picked from commit 9861be4eef925ec1751765f8138ad81e0632234f)

ssl/quic/quic_demux.c

index 88135fe5b9e444a2b9b8aa590d17f5ce6be37b86..030755434800d05681705836560905d765c3b718 100644 (file)
@@ -646,6 +646,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;