]> git.baikalelectronics.ru Git - kernel.git/commit
UBI: avoid workqueue format string leak
authorKees Cook <keescook@chromium.org>
Tue, 8 Apr 2014 04:44:07 +0000 (21:44 -0700)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 5 May 2014 06:31:33 +0000 (09:31 +0300)
commitc2bbf2992bad8362002be16d1350fac8f84e050f
tree355c3fbe05d8749a4a31767d70085f5df3385f17
parentcc6a4e4aac37985229558b83ad274fb09cbd88e3
UBI: avoid workqueue format string leak

When building the name for the workqueue thread, make sure a format
string cannot leak in from the disk name.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/ubi/block.c