Skip to content

Commit cc74bf7

Browse files
AdamKorczmarco-ippolito
authored andcommittedJun 17, 2024
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 af29120 commit cc74bf7

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)
Please sign in to comment.