[SCTP] bug: endianness problem in sctp_getsockopt_sctp_status()
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 21 Nov 2006 01:03:18 +0000 (17:03 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:26:28 +0000 (21:26 -0800)
commit30330ee00ce077de9d459c17125573ff618bd7a9
treef771ee4498c9d80677118a4eb3d1a95e303a8eef
parent0906e20fa03afdb14faf7fd166bfe4ed67c8db55
[SCTP] bug: endianness problem in sctp_getsockopt_sctp_status()

Again, invalid sockaddr passed to userland - host-endiand sin_port.
Potential leak, again, but less dramatic than in previous case.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/socket.c