diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2016-01-19 21:23:57 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-01-20 21:15:45 +0800 |
commit | 202736d99b7f29279db9da61587f11a08a04a9c6 (patch) | |
tree | 7ec8d1d32fc795eb30a473580d861398454c3a26 /crypto/arc4.c | |
parent | fd7f6727102a1ccf6b4c1dfcc631f9b546526b26 (diff) | |
download | lwn-202736d99b7f29279db9da61587f11a08a04a9c6.tar.gz lwn-202736d99b7f29279db9da61587f11a08a04a9c6.zip |
crypto: algif_skcipher - sendmsg SG marking is off by one
We mark the end of the SG list in sendmsg and sendpage and unmark
it on the next send call. Unfortunately the unmarking in sendmsg
is off-by-one, leading to an SG list that is too short.
Fixes: 0f477b655a52 ("crypto: algif - Mark sgl end at the end of data")
Cc: stable@vger.kernel.org
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/arc4.c')
0 files changed, 0 insertions, 0 deletions