diff options
| author | Herbert Xu <herbert@gondor.apana.org.au> | 2016-10-27 17:29:34 +0300 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-11 10:58:59 +0200 |
| commit | 40c86d6faf0367565b3e6a3a54bd180f7c502aca (patch) | |
| tree | 9259ad5a3a9e4d7da067b3c24b34feb6705965b6 /scripts/bootgraph.pl | |
| parent | 4c84bd99a37c6bd420e32e0d8319557d8a2ff624 (diff) | |
crypto: algif_skcipher - Require setkey before accept(2)
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 <dvyukov@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Tested-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'scripts/bootgraph.pl')
0 files changed, 0 insertions, 0 deletions
