OSDN Git Service

binder: replace "%p" with "%pK"
authorTodd Kjos <tkjos@android.com>
Wed, 7 Feb 2018 21:57:37 +0000 (13:57 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Feb 2018 10:16:38 +0000 (11:16 +0100)
commit8ca86f1639ec5890d400fff9211aca22d0a392eb
treed8422351633e988f4bdde1bd14dbf60d29cac502
parente46a3b3ba7509cb7fda0e07bc7c63a2cd90f579b
binder: replace "%p" with "%pK"

The format specifier "%p" can leak kernel addresses. Use
"%pK" instead. There were 4 remaining cases in binder.c.

Signed-off-by: Todd Kjos <tkjos@google.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder.c