summaryrefslogtreecommitdiff
path: root/crypto/md5.c
diff options
context:
space:
mode:
authorSowmini Varadhan <sowmini.varadhan@oracle.com>2015-10-19 17:23:28 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2015-10-20 22:14:01 +0800
commitb483cd3b3f926e759c4559c66a0a483700e34a0f (patch)
tree5993617ca2e6ac071fd851a127a9f06742a51c28 /crypto/md5.c
parent9c928aab9e90610254df176ab1bff48220e0b418 (diff)
downloadlinux-crypto-b483cd3b3f926e759c4559c66a0a483700e34a0f.tar.gz
linux-crypto-b483cd3b3f926e759c4559c66a0a483700e34a0f.zip
crypto: asymmetric_keys - Fix unaligned access in x509_get_sig_params()
x509_get_sig_params() has the same code pattern as the one in pkcs7_verify() that is fixed by commit d71dd976730e ("crypto: pkcs7 - Fix unaligned access in pkcs7_verify()") so apply a similar fix here: make sure that desc is pointing at an algined value past the digest_size, and take alignment values into consideration when doing kzalloc() Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com> Acked-by: David Howells <dhowells@redhat.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions