Columbia Basin Internet <-> Packet Radio Gateway
 




11 Oct, 2008 - 05:45 PST 
 
Main Menu

Online
There are 0 registered users online.

You can log-in or register for a user account here.

More TNOS SMTP crashes and a workaround
Saturday, 10 February, 2007, 21:02 PST

Printer-friendly page

GATEWAY NEWS

Last night, an ALWGW user had another Internet SMTP message arrive that caused a TNOS 2.40 SIGSEGV crash.  The symptoms were the same as those encountered previously (I would recommend reading the background in "Long-term mystery SOLVED," if you haven't already), except that this time there was no X-Face: line present in the header.  The crash did occur in reject.c, but this time it was the To: field causing the problem.  Again, examining the message, no unusual characters were present, although the line was a bit long.

I reviewed and compared the earlier problem messages with the new one, and finally determined what I believe is the key to this issue.  It is not so much the actual content or type of characters that are present in the header lines causing the crashes, but rather the number of characters in any given header line.  It appears to cause a problem when any one line in the headers has more than 256 characters.  When viewed from a 2007 frame of reference, this is a significant weakness!  I will go back and examine the code as I have time, and see if I can come up with a fix.

For now, I have added a line to my Postfix header checks that silently drops any header line exceeding 255 characters:

/^.{256,}/   IGNORE

Many mailers wrap long header lines anyway.  RFC-822 certainly provides for that option.

Note: Interestingly, every time this problem has cropped up on my system, the troublesome message has come through a Yahoo group!




More TNOS SMTP crashes and a workaround | Log-in or register a new user account | 0 Comments
Comments are statements made by the person that posted them.
They do not necessarily represent the opinions of the site editor.
Recent Stories

Events

<< October 2008 >>
S M T W T F S
28 29 30 01 02 03 04
05 06 07 08 09 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31 01

Today's Events

No Events


Upcoming Events

Mon, November 03 2008


[Search]

Login




 


 Log in Problems?
 New User? Sign Up!

firefox

Page created in 1.32290291786 seconds.