Commit a3355a62 authored by Kees Cook's avatar Kees Cook Committed by Greg Kroah-Hartman
Browse files

staging: r8821ae: avoid leaking format string



This make sure a format string cannot leak into the work queue name nor
the printk buffer.

Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f4a86b65
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -88,7 +88,7 @@ extern u32 btc_dbg_type[];


#define	CL_SPRINTF	snprintf
#define	CL_PRINTF	printk
#define	CL_PRINTF(buf)	printk("%s", buf)

#define	BTC_PRINT(dbgtype, dbgflag, printstr, ...)		\
	do { 							\