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

Commit ed5e0308 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

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

parents 59016ea4 4d150836
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ using ::android::sp;
using ::android::MediaExtractorService;

extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
    signal(SIGPIPE, SIG_IGN);
    auto service = sp<MediaExtractorService>::make();
    fuzzService(service, FuzzedDataProvider(data, size));
    return 0;