FROMLIST: android: binder: Fix null ptr dereference in debug msg
authorSherry Yang <sherryy@android.com>
Thu, 5 Oct 2017 21:13:47 +0000 (17:13 -0400)
committerDanny Wood <danwood76@gmail.com>
Tue, 8 Oct 2019 13:57:43 +0000 (14:57 +0100)
commitfc6c864a90d497b4080fc48a1d6cfbb099a051fc
tree572114305309517a45d2d12451ce85ff1872e4c5
parente75424d90ad58c2b0dab7043da3d27b529a2a443
FROMLIST: android: binder: Fix null ptr dereference in debug msg

(from https://patchwork.kernel.org/patch/9990323/)

Don't access next->data in kernel debug message when the
next buffer is null.

Bug: 36007193
Change-Id: Ib8240d7e9a7087a2256e88c0ae84b9df0f2d0224
Acked-by: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Sherry Yang <sherryy@android.com>
drivers/android/binder_alloc.c