From mboxrd@z Thu Jan 1 00:00:00 1970 From: Herbert Xu Subject: Re: [PATCH] crypto: zip - Memory corruption in zip_clear_stats() Date: Fri, 24 Mar 2017 22:14:07 +0800 Message-ID: <20170324141407.GG14780@gondor.apana.org.au> References: <20170317204621.GD16505@mwanda> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Mahipal Challa , "David S. Miller" , Jan Glauber , linux-crypto@vger.kernel.org, kernel-janitors@vger.kernel.org To: Dan Carpenter Return-path: Received: from orcrist.hmeau.com ([104.223.48.154]:42694 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935748AbdCXOOr (ORCPT ); Fri, 24 Mar 2017 10:14:47 -0400 Content-Disposition: inline In-Reply-To: <20170317204621.GD16505@mwanda> Sender: linux-crypto-owner@vger.kernel.org List-ID: On Fri, Mar 17, 2017 at 11:46:21PM +0300, Dan Carpenter wrote: > 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 Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt From mboxrd@z Thu Jan 1 00:00:00 1970 From: Herbert Xu Date: Fri, 24 Mar 2017 14:14:07 +0000 Subject: Re: [PATCH] crypto: zip - Memory corruption in zip_clear_stats() Message-Id: <20170324141407.GG14780@gondor.apana.org.au> List-Id: References: <20170317204621.GD16505@mwanda> In-Reply-To: <20170317204621.GD16505@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Dan Carpenter Cc: Mahipal Challa , "David S. Miller" , Jan Glauber , linux-crypto@vger.kernel.org, kernel-janitors@vger.kernel.org On Fri, Mar 17, 2017 at 11:46:21PM +0300, Dan Carpenter wrote: > 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 Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt