Re: SO_PASSCRED broken in 2.4 ? - mystery tackled

From: kuznet@ms2.inr.ac.ru
Date: Tue Jul 04 2000 - 13:41:00 EST


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/



This archive was generated by hypermail 2b29 : Fri Jul 07 2000 - 21:00:15 EST