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
Loading
Please register or sign in to comment