diff options
author | Mathias Krause <[email protected]> | 2012-08-15 11:31:52 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2012-08-15 21:36:31 -0700 |
commit | 04d4fbca1017c11381e7d82acea21dd741e748bc (patch) | |
tree | a12bca825e4a2251c9acec3812a8cbfd067abec1 /net/unix/af_unix.c | |
parent | 792039c73cf176c8e39a6e8beef2c94ff46522ed (diff) |
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 <[email protected]>
Cc: James Chapman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions