diff --git a/fuzz/fuzz_http3serverreq.cc b/fuzz/fuzz_http3serverreq.cc index 60b6257..66a73e5 100644 --- a/fuzz/fuzz_http3serverreq.cc +++ b/fuzz/fuzz_http3serverreq.cc @@ -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()); rv = nghttp3_conn_bind_qpack_streams(conn, 7, 11); if (rv != 0) {