Re: [exim] Re: [exim-dev] buffer overflow?

Etusivu
Poista viesti
Vastaa
Lähettäjä: Richard Clayton
Päiväys:  
Vastaanottaja: Matthew Byng-Maddick
Kopio: exim-users
Aihe: Re: [exim] Re: [exim-dev] buffer overflow?
In message <20050313130139.GB44196@???>, Matthew Byng-
Maddick <exim@???> writes

>What this looks like to me is that because of the sync error, the fd is
>being closed but the variable containing that fd is not unset, some later
>bit of code does some kind of getgrent() call, and then tries to read from
>the smtp input fd, which now is refers to the /etc/group file.


I have the same thing in my logs as well (Exim 4.50, FreeBSD 4.10) and
the text in the log is clearly from my system.

I suspect it is not unrelated to the read() call at line 1612 of
smtp_in.c failing to check for rc less than zero ... but I'm not
familiar enough with the Exim code to say whether it's quite as simple
as that !

- -- 
richard @ highwayman . com                       "Nothing seems the same
                          Still you never see the change from day to day
                                And no-one notices the customs slip away"