Re: [PATCH] unix domain sockets bugfix

David S. Miller (davem@redhat.com)
Mon, 07 Oct 2002 00:48:00 -0700 (PDT)


From: Balazs Scheidler <bazsi@balabit.hu>
Date: Mon, 7 Oct 2002 09:35:32 +0200

The returned socklen is 2, but the sockaddr.family is not touched. A fix is
below:

Since msg->msg_namelen is zero, msg->msg_name should not be
interpreted in any way at all.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/