Mathias Krause a5f6fc28d6 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>
2014-11-20 22:43:47 -05:00
..
2014-11-11 16:24:18 -05:00
2014-10-07 13:22:11 -04:00
2014-10-07 13:22:11 -04:00
2014-11-03 14:27:06 -05:00
2014-11-18 15:38:44 -05:00