]> 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)
commitb75e21d3c78aca16aff89de48e868c8df19d15ba
tree0e29785e45651beab186dd01284838f9fab35c93
parent3bbd9e479566a4b9a8b415106e3ded4a0ef1b9e4
[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