]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
ngtcp2: Fix missing initialization of nghttp3_nv.flags
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Thu, 7 Jul 2022 15:01:48 +0000 (00:01 +0900)
committerJay Satiro <raysatiro@yahoo.com>
Fri, 8 Jul 2022 04:12:08 +0000 (00:12 -0400)
Closes https://github.com/curl/curl/pull/9118

lib/vquic/ngtcp2.c

index dd35796b71b0c43a0055850d2eeb3dffa8543bff..2d5f7f3c1a2d965030ecc79d59628194bf426f73 100644 (file)
@@ -1375,6 +1375,7 @@ static CURLcode http_request(struct Curl_easy *data, const void *mem,
       nva[i].namelen = hreq->header[i].namelen;
       nva[i].value = (unsigned char *)hreq->header[i].value;
       nva[i].valuelen = hreq->header[i].valuelen;
+      nva[i].flags = NGHTTP3_NV_FLAG_NONE;
     }
   }