diff options
author | Mathias Krause <minipli@googlemail.com> | 2014-11-19 18:05:26 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-21 04:43:47 +0100 |
commit | a5f6fc28d6e6cc379c6839f21820e62262419584 (patch) | |
tree | f251bb2b01c2465cd791c4db2d5ef2dfe9ef83b6 /net/openvswitch/flow_netlink.c | |
parent | cxgb4i : Don't block unload/cxgb4 unload when remote closes TCP connection (diff) | |
download | linux-a5f6fc28d6e6cc379c6839f21820e62262419584.tar.xz linux-a5f6fc28d6e6cc379c6839f21820e62262419584.zip |
pptp: fix stack info leak in pptp_getname()
pptp_getname() only partially initializes the stack variable sa,
particularly only fills the pptp part of the sa_addr union. The code
thereby discloses 16 bytes of kernel stack memory via getsockname().
Fix this by memset(0)'ing the union before.
Cc: Dmitry Kozlov <xeb@mail.ru>
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch/flow_netlink.c')
0 files changed, 0 insertions, 0 deletions