rtlwifi: prevent format string usage from leaking
authorKees Cook <keescook@chromium.org>
Mon, 20 Oct 2014 21:57:08 +0000 (14:57 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 23 Oct 2014 18:02:06 +0000 (14:02 -0400)
commit598a0df07fc6c4642f9b0497cef1233e41d4c987
tree572f526ff444504d6b3f55db1b9d39ca9a6a03a1
parent34b6d4299923ec9101bbf364440cee36420b3fc0
rtlwifi: prevent format string usage from leaking

Use "%s" in the workqueue allocation to make sure the rtl_hal_cfg name
can never accidentally leak information via a format string.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/base.c