From 4da52a05745c1b4293df790316356db88d83db96 Mon Sep 17 00:00:00 2001 From: Johnny Wang Date: Tue, 6 Aug 2024 22:41:40 +0800 Subject: [PATCH] patches: added initialize_quic_transport_id_variable.patch for nginx >= 1.27.0. (#993) --- ...1.27.0-initialize_quic_transport_id_variable.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 patches/nginx-1.27.0-initialize_quic_transport_id_variable.patch diff --git a/patches/nginx-1.27.0-initialize_quic_transport_id_variable.patch b/patches/nginx-1.27.0-initialize_quic_transport_id_variable.patch new file mode 100644 index 0000000..a5ebcdc --- /dev/null +++ b/patches/nginx-1.27.0-initialize_quic_transport_id_variable.patch @@ -0,0 +1,11 @@ +--- nginx-1.27.0/src/event/quic/ngx_event_quic_transport.c 2024-08-06 16:52:18.545250210 +0800 ++++ nginx-1.27.0-patched/src/event/quic/ngx_event_quic_transport.c 2024-08-06 16:52:29.691035755 +0800 +@@ -1720,7 +1720,7 @@ + ngx_quic_parse_transport_params(u_char *p, u_char *end, ngx_quic_tp_t *tp, + ngx_log_t *log) + { +- uint64_t id, len; ++ uint64_t id = 0, len; + ngx_int_t rc; + + while (p < end) {