diff options
| author | Eric Biggers <[email protected]> | 2022-01-18 16:13:05 -0800 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2022-01-31 11:21:44 +1100 |
| commit | a24611ea356c7f3f0ec926da11b9482ac1f414fd (patch) | |
| tree | 0036f840ac3d82bef06c15abefac3ca522d31462 /tools/perf/scripts/python/sctop.py | |
| parent | d3481accd974541e6a5d6a1fb588924a3519c36e (diff) | |
crypto: rsa-pkcs1pad - fix buffer overread in pkcs1pad_verify_complete()
Before checking whether the expected digest_info is present, we need to
check that there are enough bytes remaining.
Fixes: a49de377e051 ("crypto: Add hash param to pkcs1pad")
Cc: <[email protected]> # v4.6+
Cc: Tadeusz Struk <[email protected]>
Signed-off-by: Eric Biggers <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions