Re: [PATCH 1/4] crypto: algif_skcipher - Require setkey before accept(2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/27/2016 10:40 PM, Sasha Levin wrote:
> On 02/26/2016 06:44 AM, Milan Broz wrote:
>> From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
>>
>>     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@xxxxxxxxxxxxxxx
>>     Reported-by: Dmitry Vyukov <dvyukov@xxxxxxxxxx>
>>     Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
>>     Tested-by: Dmitry Vyukov <dvyukov@xxxxxxxxxx>
>>     [backported to 4.1 by Milan Broz <gmazyland@xxxxxxxxx>]
> 
> Thanks Milan. Can I add your Signed-off-by to this series?

yes,
Signed-off-by: Milan Broz <gmazyland@xxxxxxxxx>

Thanks,
Milan
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]