Skip to content
Commit 1a71d6ff authored by Milan Broz's avatar Milan Broz Committed by Mike Snitzer
Browse files

dm crypt: use memzero_explicit for on-stack buffer



Use memzero_explicit to cleanup sensitive data allocated on stack
to prevent the compiler from optimizing and removing memset() calls.

Signed-off-by: default avatarMilan Broz <gmazyland@gmail.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
Cc: stable@vger.kernel.org
parent 02717d98
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment