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>
Fri, 8 Nov 2019 12:03:13 +0000 (12:03 +0000)
commit5a53b8a1378c02b228be0844dda5c7171ba58663
tree572114305309517a45d2d12451ce85ff1872e4c5
parentb4b39b68c0237d0b5bc55b4f8a4bb22c8b093068
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