Thread (6 messages) flat view 6 messages, 2 authors, 2018-02-14

Re: [PATCH 2/3] tls: reset the crypto info if copy_from_user fails

From: David Miller <davem@davemloft.net>
Date: 2018-02-14 20:07:07

From: Boris Pismenny <redacted>
Date: Wed, 14 Feb 2018 10:46:07 +0200
copy_from_user could copy some partial information, as a result
TLS_CRYPTO_INFO_READY(crypto_info) could be true while crypto_info is
using uninitialzed data.

This patch resets crypto_info when copy_from_user fails.

fixes: 3c4d7559159b ("tls: kernel TLS support")
Signed-off-by: Boris Pismenny <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help