summaryrefslogtreecommitdiffstats
path: root/net/xfrm
diff options
context:
space:
mode:
authorIlya Lesokhin <ilyal@mellanox.com>2017-11-13 10:22:48 +0200
committerDavid S. Miller <davem@davemloft.net>2017-11-14 16:26:34 +0900
commit196c31b4b54474b31dee3c30352c45c2a93e9226 (patch)
tree41b97d82a0c7f81a832da89c798dc0d470cd237c /net/xfrm
parent213ef6e7c9c063c482d77f12cc438872628d48ec (diff)
downloadtalos-obmc-linux-196c31b4b54474b31dee3c30352c45c2a93e9226.tar.gz
talos-obmc-linux-196c31b4b54474b31dee3c30352c45c2a93e9226.zip
tls: Avoid copying crypto_info again after cipher_type check.
Avoid copying crypto_info again after cipher_type check to avoid a TOCTOU exploits. The temporary array on the stack is removed as we don't really need it Fixes: 3c4d7559159b ('tls: kernel TLS support') Signed-off-by: Ilya Lesokhin <ilyal@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud