Re: [Exim] Re: Exim 4.33 local_scan() problem

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Andrew - Supernews
Data:  
Para: exim-users
Asunto: Re: [Exim] Re: Exim 4.33 local_scan() problem
>>>>> "Tom" == Tom Kistner <tom@???> writes:

Tom> Exim closes STDIN/STDOUT/STDERR, so fd's 0,1 and 2 can are
Tom> re-used for other purposes.


This is insane and should be fixed immediately.

It might have made sense years ago to leave the standard descriptors
free for other uses, but with the amount of stuff that Exim now
includes (especially when you consider embedded languages, database
interfaces, etc) it is _bloody dangerous_ to assume that nothing is
ever going to touch stderr unexpectedly.

If you close stderr and don't plan on immediately reopening it, then
always, always point it at /dev/null instead.

--
Andrew, Supernews
http://www.supernews.com