lkml.org 
[lkml]   [2000]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: SO_PASSCRED broken in 2.4 ? - mystery tackled
Date
Hello!

> memset(&ancbuf, 0, CMSG_SPACE(cmsg_bufsize));

Argh, yes, I see. You do zero-length read.

Well, bug will be fixed, but it does not mean yet, that
you make something valid. Such read is not well-defined.

Alexey

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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