upstream: [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)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:55:03 +0000 (11:55 +0900)
commit4687d00f77049b1e572e3b0d0a3db703eeaaeedd
tree59b88ffa7d190f8cc5dc83400a4639ac83787a06
parentdd53852460f4da1441993c4c821d11f0dce0be00
upstream: [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