--- In milter-greylist@yahoogroups.com, hans hm04 <hm04.yer@m...> wrote: > > hi > > i did say, i will give an answer about the result. > i can say, it's great. there are several email-addresses > between 35 and 40 chars long. all those problems, also > with regex, are solved for me now. > > > On Wed, Sep 08, 2004 at 09:04:50PM +0200, manu@n... wrote: > > > > The right way is to malloc the string, we should move forward to this > > solution. > > hi Emmanuel > > thats right. no veto. but befor investigating much time, give you > a kick for the next minor-release and multiply those > values by about 2. an other solution for the next minor release, is to keep long strings for from/to field before regex matching (mlfi_envfrom, mlfi_envrcpt, strip blanks) in milter-greylist.c just after, strings can be truncated to a small ADDRLEN (chances are low that collisons be harmfull) and the remainig code left untouch its a very small modification with no risk of breaking what already works hashing (md5) could be used instead of truncating to definitively prevent collisions, keeping fixed length allocations (see my other post) ... but it more than a minor release LF. -- Laurent FACQ - Réseau REAUMUR / Bordeaux
Message
Re: cutting off sender-string
2004-09-11 by l_facq
Attachments
- No local attachments were found for this message.