commit | 80b9d69d7313dfb085265988f1296079a59e7759 | [log] [tgz] |
---|---|---|
author | Michael Wachenschwanz <mwachens@google.com> | Fri Aug 24 21:50:35 2018 -0700 |
committer | Michael Wachenschwanz <mwachens@google.com> | Fri Aug 24 22:13:19 2018 -0700 |
tree | 54c3305b49de173ab75dca6f3c44744f0f4bbeb0 | |
parent | d8906d8a1673f676f0c92ee89c5f627bf7131630 [diff] |
Verify number of Map entries written to Parcel Make sure the number of entries written by Parcel#writeMapInternal matches the size written. If a mismatch were allowed, an exploitable scenario could occur where the data read from the Parcel would not match the data written. Change-Id: I325d08a8b66b6e80fe76501359c41b6656848607 Fixes: 112859604 Test: atest android.os.cts.ParcelTest