powerpc/xmon: avoid format string leaking to printk
authorKees Cook <keescook@chromium.org>
Tue, 10 Jun 2014 17:54:06 +0000 (10:54 -0700)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 11 Jun 2014 07:04:03 +0000 (17:04 +1000)
commit50b66dbf876a10e35604fe325dc307811fb17a1b
treedfae1d7c99a327be7ae85c1ba866050f72c17f9e
parent3752e453f6bafd78e5586cc2b2e33ee4b6e1566d
powerpc/xmon: avoid format string leaking to printk

This makes sure format strings cannot leak into printk (the string has
already been correctly processed for format arguments).

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/xmon/nonstdio.c