linux/net/rose
Mathias Krause 4a184233f2 rose: fix info leak via msg_name in rose_recvmsg()
The code in rose_recvmsg() does not initialize all of the members of
struct sockaddr_rose/full_sockaddr_rose when filling the sockaddr info.
Nor does it initialize the padding bytes of the structure inserted by
the compiler for alignment. This will lead to leaking uninitialized
kernel stack bytes in net/socket.c.

Fix the issue by initializing the memory used for sockaddr info with
memset(0).

Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-04-07 16:28:02 -04:00
..
af_rose.c rose: fix info leak via msg_name in rose_recvmsg() 2013-04-07 16:28:02 -04:00
Makefile
rose_dev.c
rose_in.c
rose_link.c
rose_loopback.c
rose_out.c
rose_route.c
rose_subr.c
rose_timer.c
sysctl_net_rose.c