Re: [EXIM] libident bug kills exim...

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Darrell Fuhriman
Dátum:  
Címzett: exim-users
CC: ph10
Tárgy: Re: [EXIM] libident bug kills exim...

Following up to my own post. This probably isn't a proper fix --
as I think a proper fix would require a large expansion of
libident, which I've no interest in doing. :)

This does, however, stop the SEGVs.

*** exim-2.04/src/libident/id_parse.c.dist      Fri Sep 18 04:13:13 1998
--- exim-2.04/src/libident/id_parse.c   Tue Nov 10 17:29:23 1998
***************
*** 198,204 ****
        else
            cp = id_strtok((char *)0, "\n\r", &c);


!       if (identifier)
        {
            *identifier = id_strdup(cp);
            if (*identifier == NULL)
--- 198,204 ----
        else
            cp = id_strtok((char *)0, "\n\r", &c);


!       if (identifier && cp)
        {
            *identifier = id_strdup(cp);
            if (*identifier == NULL)



Darrell Fuhriman
Grumblesmurf Consulting

--
*** Exim information can be found at http://www.exim.org/ ***