Hao Ke eb9a0566a5 Add safety checks on KEY_INTENT mismatch.
For many years, Parcel mismatch typed exploits has been using the
AccoungManagerService's passing of KEY_INTENT workflow, as a foothold of
launching arbitrary intents. We are adding an extra check on the service
side to simulate the final deserialization of the KEY_INTENT value, to
make sure the client side won't get a mismatched KEY_INTENT value.

Bug: 250588548
Bug: 240138294
Test: atest CtsAccountManagerTestCases
Test: local test, also see b/250588548
Change-Id: I433e34f6e21ce15c89825044a15b1dec46bb25cc
2022-10-04 22:07:34 +00:00
2019-07-15 12:05:54 +02:00
2019-06-28 10:15:37 +01:00
…
2020-02-19 12:48:10 -08:00
2019-02-11 14:29:27 -08:00
2019-02-14 12:55:10 -05:00
2019-01-22 21:11:25 +00:00
…
Description
No description provided
21 GiB
Languages
Java 73.7%
Kotlin 14%
PowerBuilder 5.8%
C++ 5.2%
AIDL 1%