Skip to content
Commit 80b9d69d authored by Michael Wachenschwanz's avatar Michael Wachenschwanz
Browse files

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
parent d8906d8a
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