Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e6071181 authored by Steven Moreland's avatar Steven Moreland Committed by Gerrit Code Review
Browse files

Merge "resourcemanager_service_fuzzer: Add signal() to handle SIGPIPE" into main

parents d8e56f0a 1b6e71c7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@ using android::ResourceManagerService;
using ndk::SharedRefBase;

extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
   signal(SIGPIPE, SIG_IGN);
   std::shared_ptr<ResourceManagerService> service = ResourceManagerService::Create();
   fuzzService(service->asBinder().get(), FuzzedDataProvider(data, size));
   return 0;