[PATCH] binder: replace "%p" with "%pK"

Greg KH gregkh at linuxfoundation.org
Wed Feb 7 22:56:28 UTC 2018


On Wed, Feb 07, 2018 at 01:57:37PM -0800, Todd Kjos wrote:
> The format specifier "%p" can leak kernel addresses. Use
> "%pK" instead. There were 4 remaining cases in binder.c.

Luckily this isn't an issue in mainline as we don't print %p values out
anymore as of 4.15.  That being said, this is a good fix and I'll queue
it up after 4.16-rc1 is out, thanks.

greg k-h


More information about the devel mailing list