[media] media: rc-core: use %s in rc_map_get() module load
authorKees Cook <keescook@chromium.org>
Tue, 11 Mar 2014 20:25:53 +0000 (17:25 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 13 Mar 2014 14:32:28 +0000 (11:32 -0300)
commit8ea5488a919bbd49941584f773fd66623192ffc0
tree607aab2be59ccae6b93754e3456627afab75fd07
parent8ac43395677af08b03b3c5819f968db156a180d5
[media] media: rc-core: use %s in rc_map_get() module load

rc_map_get() takes a single string literal for the module to load,
so make sure it cannot be used as a format string in the call to
request_module().

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/rc/rc-main.c