diff options
author | Ilya Lesokhin <ilyal@mellanox.com> | 2017-11-13 10:22:48 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-14 16:26:34 +0900 |
commit | 196c31b4b54474b31dee3c30352c45c2a93e9226 (patch) | |
tree | 41b97d82a0c7f81a832da89c798dc0d470cd237c /net/xfrm | |
parent | 213ef6e7c9c063c482d77f12cc438872628d48ec (diff) | |
download | talos-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