🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Lyle Seaman Tue, 07 May 1991 15:55
Sendmail 5.61 (and newer?) logging bug (minor)
#363
Author: Lyle Seaman
Date: Tue, 07 May 1991 15:55
26 lines
1161 bytes
Somewhere around line 408 of deliver.c (it's hard for me to 
say, I've made some local mods without keeping good track :-()
there is this segment of code:
			else {
				*t++ = ',';
				for (p = to->q_paddr; *p; *t++ = *p++);
			}

It fails to null-terminate the list of recipients.  This is usually
harmless.  In cases where one of the recipients is unreachable, 
the log line has extra text after the last recipient (usually part
of a name) which caused some problems for a mail flow summarizer
I wrote.  Add this line:
				*t='\0';

and get:
			else {
				*t++ = ',';
				for (p = to->q_paddr; *p; *t++ = *p++);
				*t='\0';/* 910506lws@wang.com */
			}

-- 
Lyle 	508 967 2322  		
lws@wang.com 	
Wang Labs, Lowell, MA, USA 	
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads