ANDROID: binder: Clear binder and cookie when setting handle in flat binder struct
authorArve Hjønnevåg <arve@android.com>
Mon, 24 Oct 2016 13:20:30 +0000 (15:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Oct 2016 17:37:48 +0000 (19:37 +0200)
commit4afb604e2d14d429ac9e1fd84b952602853b2df5
tree6aaa0748e70061782de8c96839d3d9477179e92f
parent0a3ffab93fe52530602fe47cd74802cffdb19c05
ANDROID: binder: Clear binder and cookie when setting handle in flat binder struct

Prevents leaking pointers between processes

Signed-off-by: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Martijn Coenen <maco@android.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder.c