fbdev: omap2: remove potential format string leak
authorKees Cook <keescook@chromium.org>
Mon, 8 Jun 2015 22:30:53 +0000 (15:30 -0700)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 12 Jun 2015 09:37:45 +0000 (12:37 +0300)
commit7e46cd705fd8aa458590ad38cf896b5aff525334
tree13b2e1fe2d854d4b4c368d5d46fea0d684e6fb6e
parent8dc0a56529f5d60bbb927049d48245b1a7989bf8
fbdev: omap2: remove potential format string leak

Since kobject_init_and_add takes a format string, make sure that the
passed in name cannot be accidentally parsed.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/omap2/dss/display-sysfs.c