commit | 0d13d8f26c4684a077b293b8a4615170253f842c | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Mar 17 23:46:21 2017 +0300 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Mar 24 22:03:00 2017 +0800 |
tree | 2976923f49f7c31f6fd3da08d5ce6bb651a060e2 | |
parent | 106d73340f46538d29547ac06271f55de0f4d14e [diff] |
crypto: zip - Memory corruption in zip_clear_stats() There is a typo here. It should be "stats" instead of "state". The impact is that we clear 224 bytes instead of 80 and we zero out memory that we shouldn't. Fixes: 09ae5d37e093 ("crypto: zip - Add Compression/Decompression statistics") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>