🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.headers
Article #122

Re: Wanted: Messed-Up Mail Headers

#122
From: Jeff Makey
Date: Mon, 10 Sep 1990 19:07
18 lines
1328 bytes
In article <63938@bu.edu.bu.edu> beh@bass.bu.edu (Bruce E. Howells) writes:
>Basically, my concern is that this thing not read in a piece of mail, try
>to parse it, choke, die, and lose the user's mail...

Ordinary good coding practices should take care of these types of
problems.  If you assume that lines may be infinitely long, and may
contain characters of *any* of the 256 possible values (including
ASCII NUL), then you should be protected from memory faults and
surprise truncations.  After that, insist that all errors detected
during parsing be handled in some sane manner.

Unfortunately, this is a lot easier to say than to do.

                           :: Jeff Makey

Department of Tautological Pleonasms and Superfluous Redundancies Department
    Disclaimer: Logicon doesn't even know we're running news.
    Internet: Makey@Logicon.COM    UUCP: {nosc,ucsd}!logicon.com!Makey
Technical Details
Message-ID: <765@logicon.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!ucsd!nosc!logicon.com!Makey
References: <63881@bu.edu.bu.edu> <3301@decuac.DEC.COM> <63938@bu.edu.bu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!ucsd!nosc!logicon.com!Makey
From: Makey@Logicon.COM (Jeff Makey)
Newsgroups: comp.mail.headers
Subject: Re: Wanted: Messed-Up Mail Headers
Message-ID: <765@logicon.com>
Date: 10 Sep 90 19:07:45 GMT
References: <63881@bu.edu.bu.edu> <3301@decuac.DEC.COM> <63938@bu.edu.bu.edu>
Organization: Future Procrastinators of America
Lines: 18