OSDN Git Service

Verify last array's length in readFromParcel
authorFyodor Kupolov <fkupolov@google.com>
Wed, 21 Feb 2018 01:02:35 +0000 (17:02 -0800)
committerFyodor Kupolov <fkupolov@google.com>
Wed, 21 Feb 2018 20:26:52 +0000 (20:26 +0000)
commit3b8bc2e45048527d7682b24b96957c34433da382
treee01dd4651400090c9e68f86da94e506db8365ea4
parent0a2ed3f7615e57fb91ab79a9f6964518f5a1a590
Verify last array's length in readFromParcel

Length of the last array in readFromParcel should be the same as
value of mNextIndex.

Test: PoC app in the bug
Bug: 73252178
Change-Id: I69f935949e945c3a036b19b4f88684d906079ea5
core/java/com/android/internal/app/procstats/SparseMappingTable.java