Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] Re: milter-greylist 2.0 rc1

2005-05-21 by manu@netbsd.org

Brian W. Antoine <briana@...> wrote:

>    Ok, I've tracked the problem to the emailcmp() routine in acl.c, which
> somebody modified to strip leading and trailing characters from recently.
> The problem is, they strip them from the real strings, not temporary copies
> that are then used for the comparison, and while they simply step over the
> leading characters they don't want, they actually truncate the string to
> get rid of the extras.
> 
>    Stripping leading and trailing whitespace is probably OK, but I think the
> < and > should be left in place.  Opinions?

My idea was to copy the string before touching it. Would it be alright?

-- 
Emmanuel Dreyfus
Le cahier de l'admin BSD 2eme ed. est dans toutes les bonnes librairies
http://www.eyrolles.com/Informatique/Livre/9782212114638/livre-bsd.php
manu@...

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.