commit | d423f670b5f7267b72317c2bf132d3f49ad7f624 | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Wed Aug 08 13:46:29 2018 +0100 |
committer | Narayan Kamath <narayan@google.com> | Fri Aug 10 18:52:07 2018 +0100 |
tree | 7cdc43f678e0c837a8801b6ef679273b7e66e013 | |
parent | 4d98474f2ace042b612a36457dc24c63e74d9bff [diff] |
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