Skip to content

Commit

Permalink
test: fix broken env fuzzer by initializing process
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
AdamKorcz authored and marco-ippolito committed Jun 17, 2024
1 parent af29120 commit cc74bf7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/fuzzers/fuzz_env.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit cc74bf7

Please sign in to comment.