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)
commitbebfef150e0b8fa68704cddacf05b8c26462d565
tree355c3fbe05d8749a4a31767d70085f5df3385f17
parent3d21bb7667c4b57a15077d60d23385d9a1c01d08
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