Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754716Ab1BGVJG (ORCPT ); Mon, 7 Feb 2011 16:09:06 -0500 Received: from helcar.apana.org.au ([209.40.204.226]:39123 "EHLO fornost.hengli.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754524Ab1BGVJF (ORCPT ); Mon, 7 Feb 2011 16:09:05 -0500 Date: Tue, 8 Feb 2011 08:09:02 +1100 From: Herbert Xu To: tadeusz.struk@intel.com Cc: linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, aidan.o.mahony@intel.com, gabriele.paoloni@intel.com, adrian.hoban@intel.com, jj@chaosbits.net Subject: Re: [PATCH] rfc4106, Intel, AES-NI: Don't leak memory in rfc4106_set_hash_subkey(). Message-ID: <20110207210901.GA21941@gondor.apana.org.au> References: <4d502ccb.p+rKcuFjWCnBlXY9%tadeusz.struk@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4d502ccb.p+rKcuFjWCnBlXY9%tadeusz.struk@intel.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 665 Lines: 18 On Mon, Feb 07, 2011 at 05:32:59PM +0000, tadeusz.struk@intel.com wrote: > > Here goes. > > Fix up previous patch that attempted to fix a mem leak in > rfc4106_set_hash_subkey. The previous patch was flawed in that the 'goto > out' would still leak. Sign-off? -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/