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

Commit 39f02b21 authored by Steven Moreland's avatar Steven Moreland Committed by Automerger Merge Worker
Browse files

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

parents 90da8272 e6071181
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;