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

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

Merge "installd_service_fuzzer: Add signal() to handle SIGPIPE" into main am:...

Merge "installd_service_fuzzer: Add signal() to handle SIGPIPE" into main am: cf0a7edb am: 18e7ac74

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3382172



Change-Id: I5f6bb9a74f3687ed463d971a4a21502a42928c93
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 7051e5bc 18e7ac74
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -47,6 +47,8 @@ bool force_compile_without_image() {
} // namespace android

extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
    // TODO(b/183141167): need to rewrite 'dump' to avoid SIGPIPE.
    signal(SIGPIPE, SIG_IGN);
    auto service = sp<InstalldNativeService>::make();
    fuzzService(service, FuzzedDataProvider(data, size));
    return 0;