Skip to content

Commit 105a7cf

Browse files
committed
test: fix broken fuzzer
Signed-off-by: Adam Korczynski <[email protected]>
1 parent 3f4ea7a commit 105a7cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/fuzzers/fuzz_env.cc

Lines changed: 1 addition & 0 deletions
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)