fix to the valid_addr problem

From: Kent Landfield <kent_at_hypermail-project.org>
Date: Tue, 8 Sep 1998 14:40:37 -0500 (CDT)
Message-Id: <199809081940.OAA05997_at_landfield.com>


For those that want to get this patched rather quickly I am including the following patch. It patches the problem that Gordon found. This is in the baseline and will be in the final 2.0 beta.

-- 
Kent Landfield                        Phone: 1-817-545-2502             
Email: kent_at_landfield.com             http://www.landfield.com/
Email: kent_at_nfr.net                   http://www.nfr.net/
Please send comp.sources.misc related mail to kent_at_landfield.com
Search the Usenet FAQ Archive at http://www.faqs.org/faqs/

------------------ Cut here for invalid address patch ----------------


*** string.c Tue Sep 8 14:30:39 1998
--- /www/hypermail/hypermail-20b3/src/string.c Thu Aug 20 18:12:36 1998 ***************
*** 690,706 ****
lastpos = input; continue; } - else { /* bad address */ - size = strlen(mailaddr); - if(out + size > outsize) - break; - strcpy(output, mailaddr); - output += size; - out += size; - input = ptr + strlen(mailbuff) +1; - lastpos = input; - continue; - } } } /* no address, continue from here */
Received on Tue 08 Sep 1998 09:42:31 PM GMT

This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:49 PM GMT GMT