Re: [Exim] Fw: (bugtraq) Exim 3.34 and lower

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Florian Weimer
Dátum:  
Címzett: exim-users
Tárgy: Re: [Exim] Fw: (bugtraq) Exim 3.34 and lower
Phil Brutsche <phil@???> writes:

> I can verify the segfault with the command line, and parts of the patch
> make sense (ie replacing strcpy with strncpy).


Replacing strcpy() with strncpy() almost never makes sense (read the
documentation to see why). The whole thing looks a bit fishy to me.

--
Florian Weimer                       Weimer@???
University of Stuttgart           http://CERT.Uni-Stuttgart.DE/people/fw/
RUS-CERT                          +49-711-685-5973/fax +49-711-685-5898