From: Matthias Rosenfelder
Date: Thu, 6 Jul 2017 00:56:36 -0400
> 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.
>
> Si
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
---
net/tls/tls_main.c | 2 +-
1 file chan