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

Commit dc329e90 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Ignore SIGPIPE in codec2 AIDL fuzzer" into main am: 6101cf0c

parents d218e2c0 6101cf0c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
    std::shared_ptr<C2ComponentStore> store = ::android::GetCodec2PlatformComponentStore();
    std::shared_ptr<ComponentStore> binder = SharedRefBase::make<ComponentStore>(store);

    signal(SIGPIPE, SIG_IGN);
    fuzzService(binder->asBinder().get(), FuzzedDataProvider(data, size));

    return 0;