1
0
Fork 0
alistair23-linux/drivers/hsi
Kees Cook 02aa2a3763 drivers: avoid format string in dev_set_name
Calling dev_set_name with a single paramter causes it to be handled as a
format string.  Many callers are passing potentially dynamic string
content, so use "%s" in those cases to avoid any potential accidents,
including wrappers like device_create*() and bdi_register().

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-07-03 16:07:41 -07:00
..
clients Drivers: misc: remove __dev* attributes. 2013-01-03 15:57:16 -08:00
Kconfig HSI: hsi_char: Add HSI char device kernel configuration 2012-01-05 15:42:13 +02:00
Makefile HSI: hsi_char: Add HSI char device kernel configuration 2012-01-05 15:42:13 +02:00
hsi.c drivers: avoid format string in dev_set_name 2013-07-03 16:07:41 -07:00
hsi_boardinfo.c HSI: hsi: Introducing HSI framework 2012-01-05 15:42:13 +02:00
hsi_core.h HSI: hsi: Introducing HSI framework 2012-01-05 15:42:13 +02:00