From 0c94512fb24981606406b36284026878df4bcaf2 Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Fri, 9 May 2025 23:05:54 +0000 Subject: [SP 2025-09-01] RPC Binder: shutdown on SPAN error. This error return is not recoverable. Bug: 416734088 Test: binderRpcTest Change-Id: If0b8a8f36f797dcf927bfc2b5ae51e37e915f2f6 Merged-In: If0b8a8f36f797dcf927bfc2b5ae51e37e915f2f6 (cherry picked from commit dddbc115f88d99379ad9e118e551924c84f16e3a) --- libs/binder/RpcState.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/binder/RpcState.cpp b/libs/binder/RpcState.cpp index 1ecf3c3628..c594d51bf0 100644 --- a/libs/binder/RpcState.cpp +++ b/libs/binder/RpcState.cpp @@ -987,6 +987,7 @@ processTransactInternalTailCall: " objectTableBytesSize=%zu. Terminating!", transactionData.size(), sizeof(RpcWireTransaction), transaction->parcelDataSize, objectTableBytes->size); + (void)session->shutdownAndWait(false); return BAD_VALUE; } objectTableSpan = *maybeSpan; -- cgit v1.2.3-59-g8ed1b