patches: added initialize_quic_transport_id_variable.patch for nginx >= 1.27.0.

This commit is contained in:
jiahao 2024-08-06 17:06:03 +08:00
parent 8b119bceb7
commit 7f7ed978e7
1 changed files with 11 additions and 0 deletions

View File

@ -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) {