🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.ip.developers
Article #379

Re: [another?] memory leak in ka9q/smtpserv

#379
From: Graham E Kinns
Date: Fri, 08 Aug 1997 00:00
35 lines
2001 bytes
In article <870891657snx@warren.demon.co.uk>
           leveret@warren.demon.co.uk "Nick Leverton" writes:

>In article <870774566snz@grempc.demon.co.uk>
>   newsmaster@grempc.demon.co.uk (Graham E Kinns) writes:
>>
>>The downside is not allowing wildcards to match the first character of
>>a header (which IMHO would be grossly inefficient in the present
>>implementation)

>                                      Ummm, you do have 27 lists
>(assuming conversion of tabs-to-spaces), don't you, not 26 ?  Or have
>you made it handle continuations properly ?

Err, no and, um, no :-(  It didn't (and still doesn't) handle any
lines longer than 512 chars properly - the original idea had 27 lists,
the 27th being for anything not beginning A-Z but I dropped it as a
rule starting with a wildcard would need checking against every header
- removing almost all the advantage of rewriting it in the first place
:-(

Adding the 27th for continuation lines and even coping with lines
longer than 512 should be do-able.  I suppose the answer to the 
wildcard problem is to add yet another list for wildcards and [^a-z ]
to be checked against every header.

>Nick, fearful lest asking these questions further delay the release :-)
 
Nah, just gets added to the Known Problems section ;-)

Cheers, Graham.
-- 
Graham E. Kinns
Graham@grempc.demon.co.uk
Technical Details
Message-ID: <870986179snz@grempc.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <870540359snz@pdlmail.demon.co.uk> <870774566snz@grempc.demon.co.uk> <870891657snx@warren.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bb05,f2481a491189cc66
X-Google-Attributes: gid10bb05,public
From: newsmaster@grempc.demon.co.uk (Graham E Kinns)
Subject: Re: [another?] memory leak in ka9q/smtpserv
Date: 1997/08/08
Message-ID: <870986179snz@grempc.demon.co.uk>
X-Deja-AN: 265190519
References: <870540359snz@pdlmail.demon.co.uk> <870774566snz@grempc.demon.co.uk> <870891657snx@warren.demon.co.uk>
X-Mail2News-Path: grempc.demon.co.uk
Reply-To: Graham@grempc.demon.co.uk
X-Mail2News-User: newsmaster@grempc.demon.co.uk
Organization: Home, N Yorks, UK
Newsgroups: demon.ip.developers