ANDROID: binder: fix transaction leak.
authorMartijn Coenen <maco@android.com>
Thu, 24 Aug 2017 13:23:36 +0000 (15:23 +0200)
committerDanny Wood <danwood76@gmail.com>
Fri, 8 Nov 2019 12:03:13 +0000 (12:03 +0000)
commit1d6de5d0a18cfed61559dbad8d611180d516fcff
treec567239f1a6fe15a0a021cb9233230b03fe7476e
parent83e562b3b5b8b7695f71f250d58764359a0ab45c
ANDROID: binder: fix transaction leak.

If a call to put_user() fails, we failed to
properly free a transaction and send a failed
reply (if necessary).

Bug: 63117588
Test: binderLibTest

Change-Id: Ia98db8cd82ce354a4cdc8811c969988d585c7e31
Signed-off-by: Martijn Coenen <maco@android.com>
drivers/android/binder.c