Skip to content

Commit 15e3604

Browse files
AdamKorczaduh95
authored andcommitted
test: fix broken env fuzzer by initializing process
Signed-off-by: Adam Korczynski <[email protected]>
1 parent c4d0229 commit 15e3604

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/fuzzers/fuzz_env.cc

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ extern "C" int LLVMFuzzerInitialize(int* argc, char*** argv) {
4444
platform.reset(
4545
new node::NodePlatform(kV8ThreadPoolSize, tracing_controller));
4646
v8::V8::InitializePlatform(platform.get());
47+
cppgc::InitializeProcess(platform->GetPageAllocator());
4748
v8::V8::Initialize();
4849
return 0;
4950
}

0 commit comments

Comments
 (0)