]> git.karo-electronics.de Git - karo-tx-linux.git/commit
bcache: defensively handle format strings
authorKees Cook <keescook@chromium.org>
Wed, 11 Sep 2013 04:41:34 +0000 (21:41 -0700)
committerKent Overstreet <kmo@daterainc.com>
Wed, 11 Sep 2013 05:10:07 +0000 (22:10 -0700)
commit6c26e50cea3a04fd50cb9d55504b081d2e3c5fe7
tree85ac29b0ca90e637447ee995621940a4072e254f
parent2879736e8a022780e28da9e4502815b510fcfe8b
bcache: defensively handle format strings

Just to be safe, call the error reporting function with "%s" to avoid
any possible future format string leak.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
drivers/md/bcache/super.c