lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20111101221600.GB4519@gondor.apana.org.au>
Date:	Wed, 2 Nov 2011 09:16:01 +1100
From:	Herbert Xu <herbert@...dor.apana.org.au>
To:	Jonathan Corbet <corbet@....net>
Cc:	Steffen Klassert <steffen.klassert@...unet.com>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] crypto: Fix rwsem leak in crypto_user

On Tue, Nov 01, 2011 at 04:08:37PM -0600, Jonathan Corbet wrote:
> The list_empty case in crypto_alg_match() will return without calling
> up_read() on crypto_alg_sem.  We could do the "goto out" routine, but the
> function will clearly do the right thing with that test simply removed.
> 
> Signed-off-by: Jonathan Corbet <corbet@....net>

Patch applied.  Thanks a lot Jon!
-- 
Email: Herbert Xu <herbert@...dor.apana.org.au>
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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ