android: binder: Fix null ptr dereference in debug msg
authorSherry Yang <sherryy@android.com>
Sat, 21 Oct 2017 00:58:59 +0000 (20:58 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Oct 2017 08:14:20 +0000 (10:14 +0200)
commitae65c8510f3319dfb2114cc48d476b81232e27b3
tree3a94ab0f22bdab90c95d824b0d736b294c467233
parenta0c2baaf81bd53dc76fccdddc721ba7dbb62be21
android: binder: Fix null ptr dereference in debug msg

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

Acked-by: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Sherry Yang <sherryy@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder_alloc.c