]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: jitterentropy - use safe format string parameters
authorKees Cook <keescook@chromium.org>
Fri, 24 Jul 2015 22:41:27 +0000 (15:41 -0700)
committerSomasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Wed, 13 Sep 2017 21:21:35 +0000 (14:21 -0700)
commit02d172a58f03133de84445e012349e85da63f517
treebf457e5e875a4ce465d0514d0d0808a974401822
parent5add9ad11d671960b6094c1ca6b5b752eb1286bc
crypto: jitterentropy - use safe format string parameters

Orabug: 26330509

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 <keescook@chromium.org>
Acked-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(cherry picked from commit 0c5f0aa5dd92a36a2c6491695abcb95196b88ef6)
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
crypto/jitterentropy-kcapi.c