commit | 1a71d6ffe18c0d0f03fc8531949cc8ed41d702ee | [log] [tgz] |
---|---|---|
author | Milan Broz <gmazyland@gmail.com> | Sat Nov 22 09:36:04 2014 +0100 |
committer | Mike Snitzer <snitzer@redhat.com> | Tue Dec 02 10:25:07 2014 -0500 |
tree | 23a55aac2b85ea96d94ad54897293020d4615167 | |
parent | 02717d9855400c12c6e338ce1f5c2e1310def49a [diff] |
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: Milan Broz <gmazyland@gmail.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Cc: stable@vger.kernel.org