]> git.karo-electronics.de Git - karo-tx-linux.git/commit
crypto: sanitize argument for format string
authorKees Cook <keescook@chromium.org>
Wed, 19 Jun 2013 00:05:46 +0000 (10:05 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:12:52 +0000 (17:12 +1000)
commit48d54243933f2dfcbf27e0cb36d815040cc61b40
treefea9a80b0839260830d361645276c8dc39d1f34c
parent252e2e7282ffa716455d2d25620a896dc071f404
crypto: sanitize argument for format string

The template lookup interface does not provide a way to use format
strings, so make sure that the interface cannot be abused accidentally.

Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
crypto/algapi.c