]> git.karo-electronics.de Git - karo-tx-linux.git/commit
torture: Avoid format string leak to thead name
authorKees Cook <keescook@chromium.org>
Thu, 22 May 2014 18:51:04 +0000 (11:51 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 26 Jun 2014 17:59:36 +0000 (10:59 -0700)
commit089e6eaac804d778c990d7a2281a01450bfd08c0
tree2e3012669ce605b98c70e8848e34db848e8c079a
parent5f36afa64035fb83db0a2dc5196396fb5c107b2b
torture: Avoid format string leak to thead name

Since the torture-test thread creation interface does not include
format string arguments, this commit makes sure the name can never be
accidentally processed as a format string.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/torture.c