commit | 2b8b28fd232233c22fb61009dd8b0587390d2875 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Sat Jan 30 17:38:28 2016 +0300 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Mon Feb 01 22:27:05 2016 +0800 |
tree | d93ad533833a24b992a9f99d49ab823ce8a92917 | |
parent | d1662165ae612ec8b5f94a6b07e65ea58b6dce34 [diff] |
crypto: keywrap - memzero the correct memory We're clearing the wrong memory. The memory corruption is likely harmless because we weren't going to use that stack memory again but not zeroing is a potential information leak. Fixes: e28facde3c39 ('crypto: keywrap - add key wrapping block chaining mode') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>