diff options
author | 2017-07-06 00:56:36 -0400 | |
---|---|---|
committer | 2017-07-06 10:58:19 +0100 | |
commit | 5a3b886c3cc5de1b9ec618bf27e1b31c6624f3ca (patch) | |
tree | 44ee8905a9dda4c6c90f2b3527ea1ef5181f3bb4 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | tcp: md5: tcp_md5_do_lookup_exact() can be static (diff) | |
download | linux-dev-5a3b886c3cc5de1b9ec618bf27e1b31c6624f3ca.tar.xz linux-dev-5a3b886c3cc5de1b9ec618bf27e1b31c6624f3ca.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions