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

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

Merge "libbinder: RPC - add DOS TODO"

parents 94a9ae33 8193c188
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -134,7 +134,8 @@ void RpcServer::join() {
        }
        LOG_RPC_DETAIL("accept4 on fd %d yields fd %d", mServer.get(), clientFd.get());

        // TODO(b/183988761): cannot trust this simple ID
        // TODO(b/183988761): cannot trust this simple ID, should not block this
        // thread
        LOG_ALWAYS_FATAL_IF(!mAgreedExperimental, "no!");
        int32_t id;
        if (sizeof(id) != read(clientFd.get(), &id, sizeof(id))) {