bsr: avoid format string leaking into device name
authorKees Cook <keescook@chromium.org>
Tue, 10 Jun 2014 17:51:08 +0000 (10:51 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2014 23:59:15 +0000 (16:59 -0700)
commit4171ee9e3cd27718ce21f19aa00ea892655b28af
tree81d71272aa2b57141f0f0fc4649c9e80b859683f
parent7b88344631536cdc258b83c7a67f9117dd05e208
bsr: avoid format string leaking into device name

This makes sure a format string cannot accidentally leak into a device name.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/bsr.c