From 15e3604e0973c574e249465edd4147ea3e136409 Mon Sep 17 00:00:00 2001 From: Adam Korczynski Date: Wed, 6 Dec 2023 22:19:01 +0000 Subject: [PATCH] test: fix broken env fuzzer by initializing process Signed-off-by: Adam Korczynski --- test/fuzzers/fuzz_env.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/test/fuzzers/fuzz_env.cc b/test/fuzzers/fuzz_env.cc index 92af0bcb30e660..bace3051f8cecd 100644 --- a/test/fuzzers/fuzz_env.cc +++ b/test/fuzzers/fuzz_env.cc @@ -44,6 +44,7 @@ extern "C" int LLVMFuzzerInitialize(int* argc, char*** argv) { platform.reset( new node::NodePlatform(kV8ThreadPoolSize, tracing_controller)); v8::V8::InitializePlatform(platform.get()); + cppgc::InitializeProcess(platform->GetPageAllocator()); v8::V8::Initialize(); return 0; }