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

Commit ccc52bb4 authored by Steven Moreland's avatar Steven Moreland
Browse files

RPC Binder: special transactions for '0' only

Make sure no code change or bug ever causes us to do
special transactions when an error condition is
encountered.

Bug: 419364025
Test: binderRpcTest
Flag: EXEMPT .
Change-Id: Ie155e85dae60c36216a46a5e9b98c33003e7cf28
parent 00a4d4d3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1095,6 +1095,8 @@ processTransactInternalTailCall:
                connection->allowNested = origAllowNested;
            } else {
                LOG_RPC_DETAIL("Got special transaction %u", transaction->code);
                LOG_ALWAYS_FATAL_IF(addr != 0,
                                    "!target && replyStatus == OK should imply addr == 0");

                switch (transaction->code) {
                    case RPC_SPECIAL_TRANSACT_GET_MAX_THREADS: {