Skip to content

Commit 4d50d51

Browse files
AdamKorcztargos
authored andcommitted
test: fix broken env fuzzer by initializing process
Signed-off-by: Adam Korczynski <adam@adalogics.com> PR-URL: #51080 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
1 parent 8d3b0b7 commit 4d50d51

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)