Skip to content

Commit

Permalink
Merge pull request #305 from amirlivneh/fuzz-max-client-streams-bidi
Browse files Browse the repository at this point in the history
fuzz_http3serverreq: Fuzz max_client_streams_bidi
  • Loading branch information
tatsuhiro-t authored Jan 3, 2025
2 parents 005e0ae + 9d775e2 commit 3d7fbd1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fuzz/fuzz_http3serverreq.cc
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
return 0;
}

nghttp3_conn_set_max_client_streams_bidi(conn, 100);
nghttp3_conn_set_max_client_streams_bidi(
conn, fuzzed_data_provider.ConsumeIntegral<uint64_t>());

rv = nghttp3_conn_bind_qpack_streams(conn, 7, 11);
if (rv != 0) {
Expand Down

0 comments on commit 3d7fbd1

Please sign in to comment.