Loading libs/binder/RpcServer.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -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))) { Loading Loading
libs/binder/RpcServer.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -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))) { Loading