OSDN Git Service

Disregard alleged binder entities beyond parcel bounds
authorChristopher Tate <ctate@google.com>
Thu, 28 May 2015 00:53:02 +0000 (17:53 -0700)
committerChristopher Hocutt <hocutt@google.com>
Wed, 24 Jun 2015 20:46:05 +0000 (20:46 +0000)
commit1b8a2f82fedffbc0b24c884def197db392b16576
treec3568efa357aafa4a05e01e3a65fc164d1133569
parent861c3f56157813627467054f488ecff7d339f2b0
Disregard alleged binder entities beyond parcel bounds

When appending one parcel's contents to another, ignore binder
objects within the source Parcel that appear to lie beyond the
formal bounds of that Parcel's data buffer.

Bug 17312693

Change-Id: If592a260f3fcd9a56fc160e7feb2c8b44c73f514
(cherry picked from commit 27182be9f20f4f5b48316666429f09b9ecc1f22e)
libs/binder/Parcel.cpp