crypto: jitterentropy - use safe format string parameters
authorKees Cook <[email protected]>
Fri, 24 Jul 2015 22:41:27 +0000 (15:41 -0700)
committerHerbert Xu <[email protected]>
Tue, 28 Jul 2015 07:03:34 +0000 (15:03 +0800)
commit0c5f0aa5dd92a36a2c6491695abcb95196b88ef6
tree11adb66615a9dcfd1fbe6d42cdf49e2541d2b40b
parentec0d6fa3e8849fd52755bca6cec550985d66546d
crypto: jitterentropy - use safe format string parameters

Since the API for jent_panic() does not include format string parameters,
adjust the call to panic() to use a literal string to avoid any future
callers from leaking format strings into the panic message.

Signed-off-by: Kees Cook <[email protected]>
Acked-by: Stephan Mueller <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
crypto/jitterentropy-kcapi.c