summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2025-05-09 23:05:54 +0000
committer Kampalus <kampalus@protonmail.ch> 2025-09-18 10:07:42 +0200
commit0c94512fb24981606406b36284026878df4bcaf2 (patch)
tree786fa66950a5894b117e1e1730e9bce80a8849df
parent35cad66932f6951217dca2331e4af87c0261ce0f (diff)
[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)
-rw-r--r--libs/binder/RpcState.cpp1
1 files changed, 1 insertions, 0 deletions
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;