diff options
author | Stephan Mueller <smueller@chronox.de> | 2017-08-30 09:17:39 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-09-20 11:42:42 +0200 |
commit | e117765a117da3ece15689cb8a759d16c415b08c (patch) | |
tree | a0ad243511df62936e17dfde131209cd6f89221b /drivers | |
parent | crypto: caam - fix LS1021A support on ARMv7 multiplatform kernel (diff) | |
download | linux-e117765a117da3ece15689cb8a759d16c415b08c.tar.xz linux-e117765a117da3ece15689cb8a759d16c415b08c.zip |
crypto: af_alg - update correct dst SGL entry
When two adjacent TX SGL are processed and parts of both TX SGLs
are pulled into the per-request TX SGL, the wrong per-request
TX SGL entries were updated.
This fixes a NULL pointer dereference when a cipher implementation walks
the TX SGL where some of the SGL entries were NULL.
Fixes: e870456d8e7c ("crypto: algif_skcipher - overhaul memory...")
Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions