[exim-dev] [Bug 770] Daemon should reinitialize len before c…

Pàgina inicial
Delete this message
Reply to this message
Autor: Ted
Data:  
A: exim-dev
Assumpte: [exim-dev] [Bug 770] Daemon should reinitialize len before calling accept()
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=770

Ted <eximX1211@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eximX1211@???





--- Comment #2 from Ted <eximX1211@???> 2008-11-19 22:40:01 ---
This seems to be a BSD specific bug, so perhaps wrap it in #ifdef BSD type
constructs. I don't have a BSD on me to check the code but from what you've
said, it looks like they cause changes to the value.

I looked through the accept socket calls in the Linux kernel and that variable
does not get changed, however, since it is passed as a pointer there is no way
to guarantee that it will remain unchanged on all types of system.

The tiny amount of extra effort required to calculate this for every new
connection might make it worthwhile as a unconditional change to the source.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email