This is a discussion on Re: fd passing: size for buffer and msg_controllen within the lucky.openbsd.tech forums, part of the OpenBSD category; --> On Thu, Jun 30, 2005, Todd C. Miller wrote: > So, the size of the buffer should be calculated ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| On Thu, Jun 30, 2005, Todd C. Miller wrote: > So, the size of the buffer should be calculated via the CMSG_SPACE, > but for msg_controllen you need to use CMSG_LEN. Not using CMSG_LEN > was the bug Wietse fixed. Thanks for the explanation! This means the code I'm using (in sendmail X) is correct; I was just a bit confused about Wietse's other change and as my Ultra 60 currently runs only Solaris 10 (it has only one disk) I can't test this. |
| Thread Tools | |
| Display Modes | |
|
|