diff options
| author | Herbert Xu <herbert@gondor.apana.org.au> | 2023-11-28 14:22:13 +0800 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-12-08 11:59:45 +0800 |
| commit | d07f951903fa9922c375b8ab1ce81b18a0034e3b (patch) | |
| tree | d2e96b8b86e194412fda950f9d94baa0c5a6a1dd /tools/perf/scripts/python/bin/export-to-postgresql-record | |
| parent | crypto: hisilicon/zip - save capability registers in probe process (diff) | |
| download | linux-d07f951903fa9922c375b8ab1ce81b18a0034e3b.tar.gz linux-d07f951903fa9922c375b8ab1ce81b18a0034e3b.zip | |
crypto: s390/aes - Fix buffer overread in CTR mode
When processing the last block, the s390 ctr code will always read
a whole block, even if there isn't a whole block of data left. Fix
this by using the actual length left and copy it into a buffer first
for processing.
Fixes: 0200f3ecc196 ("crypto: s390 - add System z hardware support for CTR mode")
Cc: <stable@vger.kernel.org>
Reported-by: Guangwu Zhang <guazhang@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Reviewd-by: Harald Freudenberger <freude@de.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-record')
0 files changed, 0 insertions, 0 deletions
