Thread (12 messages) 12 messages, 5 authors, 2015-10-21

Re: [PATCH 1/2] crypto/x509: Fix unaligned access in x509_get_sig_params()

From: David Howells <dhowells@redhat.com>
Date: 2015-10-20 09:50:48
Also in: linux-crypto, lkml

Sowmini Varadhan [off-list ref] wrote:
x509_get_sig_params() has the same code pattern as the one in
pkcs7_verify() that is fixed by commit 62f57d05e287 ("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 <redacted>
Acked-by: David Howells <dhowells@redhat.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help