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

Re: something found about the router's segfault



Sorry for following up on myself again and again. I think I
am not thinking well today.

On Mon, Nov 26, 2001 at 03:58:03PM -0500, Ambrose Li wrote:
> +++ ./router/rfc822.c	Mon Nov 26 15:40:36 2001
> @@ -2629,7 +2629,7 @@
>  
>  	if (STRING(info))
>  	  info = v_find(info->string);
> -	if (!info) return NULL;
> +	if (!info || !car(info)) return NULL;
>  
>  	for (x = cadr(info); x != NULL; x = cddr(x)) {
>  	  if (!STRING(x))

This is obviously wrong, since (cadr x) = (car (cdr x)), but
fixing this (changing the !car(info) test to !cdr(info)) still
gives the same result (messages deferred due to a malformed
sender).
-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi