mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 15:12:13 +02:00
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: Kees Cook <keescook@chromium.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f4a86b653b
commit
a3355a6267
|
|
@ -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 { \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user