]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
QUIC TXP: Correct an issue with an uninitialized variable
authorHugo Landau <hlandau@openssl.org>
Mon, 21 Nov 2022 09:55:30 +0000 (09:55 +0000)
committerHugo Landau <hlandau@openssl.org>
Fri, 13 Jan 2023 13:20:17 +0000 (13:20 +0000)
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19703)

ssl/quic/quic_txp.c

index 1042c69f447038793b2dbe058cb1988a791df50b..6ebe2283ade2e55e69fa847d49457e8fbe8cf294 100644 (file)
@@ -1253,7 +1253,7 @@ static int txp_generate_crypto_frames(OSSL_QUIC_TX_PACKETISER *txp,
     OSSL_QTX_IOVEC iov[2];
     uint64_t hdr_bytes;
     WPACKET *wpkt;
-    QUIC_TXPIM_CHUNK chunk;
+    QUIC_TXPIM_CHUNK chunk = {0};
     size_t i, space_left;
 
     for (i = 0;; ++i) {