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

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

RPC Binder: RpcState centralize transactAddress

Previously:
- transact 1 takes binder as argument
           2 validates parcel (should happen in other case)
           3 updates state for binder transfer out
           4 calls transactAddress
- transactAddress - does transaction

Now, 2/3 are moved into transactAddress. The main goal
of this is to enable us to do transaction validation
before we do (3). That way, if we reject the transaction,
we won't leak the binder, due to recording that we sent
the binder out.

Bug: 424526253
Test: binderRpcTest
Flag: EXEMPT .

Change-Id: Ib518fdcffc92360fc960e4cdae47c361187554b6
parent 912d5ad8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment