]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
binder: replace "%p" with "%pK"
authorTodd Kjos <tkjos@android.com>
Wed, 7 Feb 2018 21:57:37 +0000 (13:57 -0800)
committerSeth Forshee <seth.forshee@canonical.com>
Wed, 28 Feb 2018 14:46:47 +0000 (08:46 -0600)
commit8bd3ea98a085cb0c51df0de7a404bbf10a33d514
treec91abd8e48ae0dbfe050533f83b7df6c42dfb608
parent36f8919090abcf851a622e832e8229ed033178f1
binder: replace "%p" with "%pK"

BugLink: http://bugs.launchpad.net/bugs/1752119
commit 8ca86f1639ec5890d400fff9211aca22d0a392eb upstream.

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>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/android/binder.c