staging: binder: fix usage of uninit scalar in binder_transaction()
authorChristian Engelmayer <cengelma@gmx.at>
Wed, 7 May 2014 19:44:53 +0000 (21:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 11:51:32 +0000 (20:51 +0900)
commit7d42043f093ed83ef80f03b17087a1eaaf8d2e06
tree264aea4ef3ccf85f9c08ff5d0e15196da014afff
parentf994d8358dd4a2fed481fca42b406292c0708665
staging: binder: fix usage of uninit scalar in binder_transaction()

Fix the error path when a cookie mismatch is detected. In that case the
function jumps to the exit label without setting the uninitialized, local
variable 'return_error'. Detected by Coverity - CID 201453.

Signed-off-by: Christian Engelmayer <cengelma@gmx.at>
Acked-by: Arve <arve@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/binder.c