random: zero buffer after reading entropy from userspace
This buffer may contain entropic data that shouldn't stick around longer than needed, so zero out the temporary buffer at the end of write_pool(). Reviewed-by: NDominik Brodowski <linux@dominikbrodowski.net> Reviewed-by: NJann Horn <jannh@google.com> Reviewed-by: NEric Biggers <ebiggers@google.com> Signed-off-by: NJason A. Donenfeld <Jason@zx2c4.com>
Showing
想要评论请 注册 或 登录