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 net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
rose_in.c
rose_link.c
rose_loopback.c
rose_out.c
rose_route.c
rose_subr.c net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
rose_timer.c
sysctl_net_rose.c net: Convert all sysctl registrations to register_net_sysctl 2012-04-20 21:22:30 -04:00