android: binder: More offset validation
authorArve Hjønnevåg <arve@android.com>
Mon, 9 Nov 2015 21:08:12 +0000 (13:08 -0800)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:54:23 +0000 (13:54 -0800)
commit52354e599db683dad784f3d353ffe45bc248e2ec
tree0f288032ed75b3035790d0b35be9729b25c5c6af
parent1c5abcf22da4b71ccdd1f727039cf51a26abb684
android: binder: More offset validation

Make sure offsets don't point to overlapping flat_binder_object
structs.

Change-Id: I12c3757872e0f16dbd6e3b92fd214004cf87047e
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
drivers/android/binder.c