staging: dgnc: fix potential format string flaw
authorKees Cook <keescook@chromium.org>
Wed, 11 Sep 2013 04:41:16 +0000 (21:41 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Sep 2013 14:39:27 +0000 (07:39 -0700)
commit5418ae3188a9a57f318f51c3c26c0fedfea82f8b
treea9086ac41676733f1cefaa95d104323ef6d3bc14
parent9edf0f670bdc8fa8b6676893b0a3bd2bf30a2362
staging: dgnc: fix potential format string flaw

Make sure that format strings cannot leak into printk() calls from the
msgbuf string.

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