[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SMTP policy deficiencies



On Mon, Aug 16, 1999 at 12:01:33PM +0400, Eugene Crosser wrote:
> OK, addresses of the form "user@elswhere.com"@my.domain are really
> resolved as local and not relayed.
> 
> I have another question: you did not include the patch that I sent
> for rfc822scan.c - do you think it is not needed?

	Nope, this one HIDES the problem.
	The real problem is somewhere else.
	For that matter, I have had  cpe < start  several times
	at my Alpha...

> --- lib/rfc822scan.c    Thu Jul  8 12:06:14 1999
> +++ lib/rfc822scan.c.new        Sun Aug  1 05:32:06 1999
> @@ -249,7 +249,7 @@
>         /* Start and End may be at different tmalloc()ed objects! */
>  
>         s = cp = (char *)tmalloc(len +1);
> -       while (len > 0 && start != cpe) {
> +       while (len > 0 && start < cpe) {
>                 if (*start == 0) {
>                   t = t->t_next;
>                   start = t->t_pname;
> @@ -257,7 +257,7 @@
>                   *s++ = '\n';
>  #else
>                   /* Skip all folding white-space */
> -                 while (len > 0 && start != cpe &&
> +                 while (len > 0 && start < cpe &&
>                          (*start == ' '  || *start == '\t' ||
>                           *start == '\n' || *start == '\r'))
>                     ++start;
> 

-- 
/Matti Aarnio	<mea@nic.funet.fi>
FUNET:  Finnish Academic and Research Network
	Network Information/Software Archival Service