linux-sg2042/net/tls
Matthias Rosenfelder 5a3b886c3c TLS: Fix length check in do_tls_getsockopt_tx()
copy_to_user() copies the struct the pointer is pointing to, but the
length check compares against sizeof(pointer) and not sizeof(struct).
On 32-bit the size is probably the same, so it might have worked
accidentally.

Signed-off-by: Matthias Rosenfelder <mrosenfelder.lkml@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-07-06 10:58:19 +01:00
..
Kconfig tls: update Kconfig 2017-06-17 22:56:46 -04:00
Makefile tls: kernel TLS support 2017-06-15 12:12:40 -04:00
tls_main.c TLS: Fix length check in do_tls_getsockopt_tx() 2017-07-06 10:58:19 +01:00
tls_sw.c tls: kernel TLS support 2017-06-15 12:12:40 -04:00