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

Commit ffe62dfc authored by Achim Thesmann's avatar Achim Thesmann
Browse files

Fail if there is a size mismatch during unparcel

Instead of just reporting a WTF throw an actual Exception.
Unparceling already failed and probably misread data (in legitimate usecases), so failing is better than continuing with invalid data.

Test: atest ParcelTest
Bug: 416031865, 384586487
Flag: android.security.fail_on_parcel_size_mismatch
Change-Id: Ia71eedfdd5d491e512288114101d30614eebedae
parent 412189fb
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