diff options
author | Mathias Krause <minipli@googlemail.com> | 2012-08-15 13:31:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-16 06:36:31 +0200 |
commit | 04d4fbca1017c11381e7d82acea21dd741e748bc (patch) | |
tree | a12bca825e4a2251c9acec3812a8cbfd067abec1 /net/llc | |
parent | Bluetooth: L2CAP - Fix info leak via getsockname() (diff) | |
download | linux-04d4fbca1017c11381e7d82acea21dd741e748bc.tar.xz linux-04d4fbca1017c11381e7d82acea21dd741e748bc.zip |
l2tp: fix info leak via getsockname()
The L2TP code for IPv6 fails to initialize the l2tp_unused member of
struct sockaddr_l2tpip6 and that for leaks two bytes kernel stack via
the getsockname() syscall. Initialize l2tp_unused with 0 to avoid the
info leak.
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Cc: James Chapman <jchapman@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/llc')
0 files changed, 0 insertions, 0 deletions