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

Commit 3da9406b authored by Steven Moreland's avatar Steven Moreland
Browse files

RPC Binder: waitForReply SPAN error shutdown

This is creating a harsher error for symmetry, but it does
not break the protocol. If necessary, all of these errors
could be converted to be recoverable.

Bug: 416772676
Test: binderRpcTest
Change-Id: I6e32ee72bbbebdb5f954f1f577f267f0eb136638
parent 3e451bf9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -746,6 +746,7 @@ status_t RpcState::waitForReply(const sp<RpcSession::RpcConnection>& connection,
                  " sizeofHeader=%zu parcelSize=%" PRId32 " objectTableBytesSize=%zu. Terminating!",
                  command.bodySize, rpcReplyWireSize, rpcReply.parcelDataSize,
                  objectTableBytes->size);
            (void)session->shutdownAndWait(false);
            return BAD_VALUE;
        }
        objectTableSpan = *maybeSpan;