aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorAdam Guerin <[email protected]>2021-01-04 17:21:57 +0000
committerHerbert Xu <[email protected]>2021-01-14 17:10:26 +1100
commit1aaae055d48e8f9c841dcce07d90fa5f8b6acf2e (patch)
tree673aa5e717ccd4d44e517e8f06e25c49f0534136 /tools/perf/scripts/python/bin
parent0db0d797abca574a3a4fa141a82ea44c270c2dd8 (diff)
crypto: qat - fix potential spectre issue
Sanitize ring_num value coming from configuration (and potentially from user space) before it is used as index in the banks array. This issue was detected by smatch: drivers/crypto/qat/qat_common/adf_transport.c:233 adf_create_ring() warn: potential spectre issue 'bank->rings' [r] (local cap) Signed-off-by: Adam Guerin <[email protected]> Reviewed-by: Giovanni Cabiddu <[email protected]> Signed-off-by: Giovanni Cabiddu <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions