Re: [Exim] possible bug in exim-4.24

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Tony Finch
Dátum:  
Címzett: a.gietl
CC: exim-users
Tárgy: Re: [Exim] possible bug in exim-4.24
Andreas Gietl <a.gietl@???> wrote:
>
>that fixes it, but i'm sure this only cures the symptoms, not the cause.


No, the problem is that the code assumes that errno!=ERANGE when strtol()
succeeds, which is not guaranteed because errno is not altered when
strtol succeeds so a previous error may trigger the error handling code.
I analysed this bug and reported it to Philip last week.

Tony.
--
f.a.n.finch <dot@???> http://dotat.at/
SOUTH FITZROY: NORTHEASTERLY BACKING NORTHERLY 6 TO GALE 8 DECREASING 4 OR 5.
THUNDERY SHOWERS. MAINLY GOOD.