diff options
author | Eric Biggers <ebiggers@google.com> | 2016-11-23 10:24:35 -0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-11-28 21:23:24 +0800 |
commit | eb0955935e2ae3aa1fc9c34ec684ffe086e81da7 (patch) | |
tree | d806f4da3cc1988882c9802555eddb1b4dc08905 /crypto/lz4.c | |
parent | 93aafb6d4f328aab0264863cf7b5faa3d0978a86 (diff) | |
download | linux-eb0955935e2ae3aa1fc9c34ec684ffe086e81da7.tar.gz linux-eb0955935e2ae3aa1fc9c34ec684ffe086e81da7.tar.bz2 linux-eb0955935e2ae3aa1fc9c34ec684ffe086e81da7.zip |
crypto: testmgr - don't use stack buffer in test_acomp()
With virtually-mapped stacks (CONFIG_VMAP_STACK=y), using the
scatterlist crypto API with stack buffers is not allowed, and with
appropriate debugging options will cause the
'BUG_ON(!virt_addr_valid(buf));' in sg_set_buf() to be triggered.
Use a heap buffer instead.
Fixes: d7db7a882deb ("crypto: acomp - update testmgr with support for acomp")
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/lz4.c')
0 files changed, 0 insertions, 0 deletions