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

Commit ed92198a authored by Steven Moreland's avatar Steven Moreland Committed by Gerrit Code Review
Browse files

Merge "binder_bpBinderFuzz: log socket unlink failure" into main

parents 88d80cd9 5e9bccbc
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();