]> git.karo-electronics.de Git - karo-tx-linux.git/commit
crypto: sanitize argument for format string
authorKees Cook <keescook@chromium.org>
Thu, 27 Jun 2013 23:51:15 +0000 (09:51 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:37:23 +0000 (16:37 +1000)
commita8b54c79b68536d2e8a219a0320e3a9be68a429e
tree624149ee2de103df0281d573c38eb625b3c257e1
parentc4125f626d89531780a8011fb2e0545395ce7cfd
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