On Fri, Apr 11, 2003 at 09:51:15AM +0100, Nigel Horne wrote:
> In clamav-milter 0.51, the privdata->to list is used in clamfi_eom.
>
> -Nigel
>
There's no need to loop through argv. Only the first pointer will be
the recipient. If another recipient is sent clamfi_envrcpt will be
called again. Then privdata->to will be malloced again, chaos will
ensue. Perhaps I'm misunderstanding what's supposed to be happening.
The way I read the documentation, I understand that xxfi_envrcpt can
be called multiple times per message and argv[0] will be set to each
recipient. The code appears to assume that argv is a list of all the
recipients, which I do not think is so.
Joe
--
You could be Younger than you think
- spam subject line
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]