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

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

Merge "binder_recordedTransactionFuzz: Bug Fix" into main am: d3d28f4f am:...

Merge "binder_recordedTransactionFuzz: Bug Fix" into main am: d3d28f4f am: 5f29f9e8 am: 3a7360d7

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



Change-Id: I36384c519c1563d4d0dc6963416fd82bbb73b111
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents b986ca16 3a7360d7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {

    if (transaction.has_value()) {
        std::FILE* intermediateFile = std::tmpfile();
        android::base::unique_fd fdForWriting(fileno(intermediateFile));
        android::base::unique_fd fdForWriting(dup(fileno(intermediateFile)));
        auto writeStatus ATTRIBUTE_UNUSED = transaction.value().dumpToFile(fdForWriting);

        std::fclose(intermediateFile);