lkml.org 
[lkml]   [2002]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] unix domain sockets bugfix
From
   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/

\
 
 \ /
  Last update: 2005-03-22 13:29    [W:0.037 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site