summaryrefslogtreecommitdiffstats
path: root/linux-headers/linux/psci.h
diff options
context:
space:
mode:
authorPaolo Bonzini2016-05-20 11:09:54 +0200
committerDaniel P. Berrange2016-06-13 13:41:17 +0200
commitb35c1f3361ebf6ec9ea5022903af4b559bff6063 (patch)
tree74a8cc5b6b93c0d682876e98ff8240f7c3d34ddc /linux-headers/linux/psci.h
parentcrypto: remove temp files on completion of secrets test (diff)
downloadqemu-b35c1f3361ebf6ec9ea5022903af4b559bff6063.tar.gz
qemu-b35c1f3361ebf6ec9ea5022903af4b559bff6063.tar.xz
qemu-b35c1f3361ebf6ec9ea5022903af4b559bff6063.zip
crypto: assert that qcrypto_hash_digest_len is in range
Otherwise unintended results could happen. For example, Coverity reports a division by zero in qcrypto_afsplit_hash. While this cannot really happen, it shows that the contract of qcrypto_hash_digest_len can be improved. Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'linux-headers/linux/psci.h')
0 files changed, 0 insertions, 0 deletions