diff options
| author | Mathias Krause <minipli@googlemail.com> | 2014-11-19 18:05:26 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-12-06 15:55:34 -0800 |
| commit | 32b849a714aad7701a1fc53953272b83a6dc483a (patch) | |
| tree | 66c6118354376c1b401b22c92ed092744df693ab /include | |
| parent | 25c44b708508af210a8ae402263852861e63dc0d (diff) | |
pptp: fix stack info leak in pptp_getname()
[ Upstream commit a5f6fc28d6e6cc379c6839f21820e62262419584 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
