original_kernel/net/l2tp
Mathias Krause 04d4fbca10 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>
2012-08-15 21:36:31 -07:00
..
Kconfig
Makefile
l2tp_core.c net: l2tp_eth: provide tx_dropped counter 2012-06-29 00:52:32 -07:00
l2tp_core.h
l2tp_debugfs.c
l2tp_eth.c net: l2tp_eth: provide tx_dropped counter 2012-06-29 00:52:32 -07:00
l2tp_ip.c
l2tp_ip6.c l2tp: fix info leak via getsockname() 2012-08-15 21:36:31 -07:00
l2tp_netlink.c net: Use NLMSG_DEFAULT_SIZE in combination with nlmsg_new() 2012-06-28 17:56:43 -07:00
l2tp_ppp.c