Commit 0c5f0aa5 authored by Kees Cook's avatar Kees Cook Committed by Herbert Xu

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: default avatarKees Cook <>
Acked-by: default avatarStephan Mueller <>
Signed-off-by: default avatarHerbert Xu <>
parent ec0d6fa3
......@@ -79,7 +79,7 @@ int jent_fips_enabled(void)
void jent_panic(char *s)
panic("%s", s);
void jent_memcpy(void *dest, const void *src, unsigned int n)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment