]> git.baikalelectronics.ru Git - kernel.git/commit
[media] anysee: make sure loading modules is const
authorKees Cook <keescook@chromium.org>
Mon, 20 Oct 2014 21:49:04 +0000 (18:49 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 21 Oct 2014 10:49:11 +0000 (08:49 -0200)
commit7af0b7ee19bd7c2e7bb0eb1ac612516d420196bd
tree8ca26f868966a062a2c3766b884eda8e67d8a7b4
parentb75e21d3c78aca16aff89de48e868c8df19d15ba
[media] anysee: 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/anysee.c