Re: [PATCH 1/4] crypto: algif_skcipher - Require setkey before accept(2)
From: Milan Broz <hidden>
Date: 2016-02-28 08:18:21
Also in:
linux-crypto
From: Milan Broz <hidden>
Date: 2016-02-28 08:18:21
Also in:
linux-crypto
On 02/27/2016 10:40 PM, Sasha Levin wrote:
On 02/26/2016 06:44 AM, Milan Broz wrote:quoted
From: Herbert Xu <herbert@gondor.apana.org.au> commit dd504589577d8e8e70f51f997ad487a4cb6c026f upstream. Some cipher implementations will crash if you try to use them without calling setkey first. This patch adds a check so that the accept(2) call will fail with -ENOKEY if setkey hasn't been done on the socket yet. Cc: stable@vger.kernel.org Reported-by: Dmitry Vyukov [off-list ref] Signed-off-by: Herbert Xu [off-list ref] Tested-by: Dmitry Vyukov [off-list ref] [backported to 4.1 by Milan Broz [off-list ref]]Thanks Milan. Can I add your Signed-off-by to this series?
yes, Signed-off-by: Milan Broz <redacted> Thanks, Milan