diff --git a/test/integration/h1_capture_fuzz_test.cc b/test/integration/h1_capture_fuzz_test.cc index f5c43377895a..40bb21abd13d 100644 --- a/test/integration/h1_capture_fuzz_test.cc +++ b/test/integration/h1_capture_fuzz_test.cc @@ -4,6 +4,9 @@ namespace Envoy { void H1FuzzIntegrationTest::initialize() { HttpIntegrationTest::initialize(); } DEFINE_PROTO_FUZZER(const test::integration::CaptureFuzzTestCase& input) { + if (input.events_size() == 0) { + return; + } // Pick an IP version to use for loopback, it doesn't matter which. RELEASE_ASSERT(!TestEnvironment::getIpVersionsForTest().empty(), ""); const auto ip_version = TestEnvironment::getIpVersionsForTest()[0];