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

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

Merge "binder_bpBinderFuzz: log socket unlink failure" into main am: ed92198a

parents c07e9e08 ed92198a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -36,7 +36,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
    FuzzedDataProvider fdp(data, size);

    std::string addr = std::string(getenv("TMPDIR") ?: "/tmp") + "/binderRpcBenchmark";
    (void)unlink(addr.c_str());
    if (0 != unlink(addr.c_str()) && errno != ENOENT) {
        LOG(WARNING) << "Could not unlink: " << strerror(errno);
    }

    sp<RpcServer> server = RpcServer::make();