From 80d3738531710d031bfcfb076ed6363e3657e856 Mon Sep 17 00:00:00 2001 From: Jason Rhinelander Date: Wed, 31 Mar 2021 18:23:05 -0300 Subject: [PATCH] Increase null_iv to 8 bytes to avoid ngtcp2 stack corruption --- llarp/quic/null_crypto.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llarp/quic/null_crypto.hpp b/llarp/quic/null_crypto.hpp index 9948b2564..43449a015 100644 --- a/llarp/quic/null_crypto.hpp +++ b/llarp/quic/null_crypto.hpp @@ -32,7 +32,7 @@ namespace llarp::quic install_rx_key(Connection& conn); private: - std::array null_iv{}; + std::array null_iv{}; // std::array null_data{}; ngtcp2_crypto_ctx null_ctx{};