diff --git a/test/common/http/http2/hpack_fuzz_test.cc b/test/common/http/http2/hpack_fuzz_test.cc index c56d2180177a..6cab23df21f4 100644 --- a/test/common/http/http2/hpack_fuzz_test.cc +++ b/test/common/http/http2/hpack_fuzz_test.cc @@ -24,9 +24,10 @@ std::vector createNameValueArray(const test::fuzz::Headers& input) { int i = 0; for (const auto& header : input.headers()) { // TODO(asraa): Consider adding flags in fuzzed input. + const uint8_t flags = 0; nva[i++] = {const_cast(reinterpret_cast(header.key().data())), const_cast(reinterpret_cast(header.value().data())), - header.key().size(), header.value().size(), /*flags = */ 0}; + header.key().size(), header.value().size(), flags}; } return nva;