summaryrefslogtreecommitdiffstats
path: root/include/crypto
diff options
context:
space:
mode:
authorStephan Mueller <smueller@chronox.de>2015-10-18 12:45:18 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2015-10-20 22:10:47 +0800
commit63349d02c195030f97c9c2000bbf32539056316f (patch)
treeb6555ee222c808f802b32031ad272a6e7ad6acfe /include/crypto
parent4a4b0bad0653a0dce876987f7487b2c5e3ecb05f (diff)
downloadop-kernel-dev-63349d02c195030f97c9c2000bbf32539056316f.zip
op-kernel-dev-63349d02c195030f97c9c2000bbf32539056316f.tar.gz
lib/mpi: fix off by one in mpi_read_raw_from_sgl
The patch fixes the analysis of the input data which contains an off by one. The issue is visible when the SGL contains one byte per SG entry. The code for checking for zero bytes does not operate on the data byte. Signed-off-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud