Skip to content
Commit d423f670 authored by Narayan Kamath's avatar Narayan Kamath
Browse files

Parcel: Handle NULL return from Parcel::readInPlace.

This can happen because Parcel checks that there are enough
bytes to consume taking padding into account, whereas the JNI
wrapper only considers the unpadded length of the array.

Test: atest ParcelTest
Bug: 35384981

Change-Id: I76c01ec50391144985f56dcae016d46487f74591
parent 4d98474f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment