]> git.baikalelectronics.ru Git - kernel.git/commit
[media] af9035: make sure loading modules is const
authorKees Cook <keescook@chromium.org>
Mon, 20 Oct 2014 21:47:34 +0000 (18:47 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 21 Oct 2014 10:48:51 +0000 (08:48 -0200)
commitf99e22b51528c83773c89a58819f6e81b433475c
tree0e29785e45651beab186dd01284838f9fab35c93
parent0e88cdfe2b00381b764aaa5fc11238510a145de6
[media] af9035: make sure loading modules is const

Make sure that loaded modules are const char strings so we don't
load arbitrary modules in the future, nor allow for format string
leaks in the module request call.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/dvb-usb-v2/af9035.c