Re: [exim] Signal 11 in local_scan()

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jack Bailey
Date:  
À: exim-users
Sujet: Re: [exim] Signal 11 in local_scan()

> Hello,
>
> I've written a local_scan function for exim-4.61 in which I'm trying to
> test sender_address. The manual says:
>
> *uschar *sender_address*
>
>     The envelope sender address. For bounce messages this is the empty
>     string.

>
>
> local_scan.c:
>
> #define ISNULL(s) (s == NULL || *s == '\0')
>
> [snip]
>
>         if(ISNULL(sender_address)) {
>                 smtp_printf("250 2.0.0 Message accepted\r\n");
>                 return(0);
>         }

>
> When this code is executed:
>
> local_scan() function crashed with signal 11


I reread the smtp_printf() page which explains what's really going on.
Sorry for the noise.

Jack