OK. Thanks for your prompt reply. Regards, Chen Shihai
On Wed, 23 Dec 2009 18:17:58 -0800 (PST) Davide Libenzi <davi...@xmailserver.org> wrote: > On Thu, 24 Dec 2009, Chen Shihai wrote: > > > Here's a sample: > > I'm in the middle of a large change, and cannot make a new pre-release > yet. > But you can apply the patch below to fix your bug. > > > > diff --git a/SMTPUtils.cpp b/SMTPUtils.cpp > index 0a322ee..86bfb3a 100644 > --- a/SMTPUtils.cpp > +++ b/SMTPUtils.cpp > @@ -596,7 +596,7 @@ char **USmtpGetPathStrings(char const *pszMailCmd) > ErrSetErrorCode(ERR_SMTP_PATH_PARSE_ERROR, pszMailCmd); > return NULL; > } > - if (USmlValidAddress(pszOpen + 1, pszClose) < 0) > + if (iPathLength > 0 && USmlValidAddress(pszOpen + 1, pszClose) < 0) > return NULL; > > char *pszPath = (char *) SysAlloc(iPathLength + 1); > > > > - Davide > > > _______________________________________________ > xmail mailing list > xmail@xmailserver.org > http://xmailserver.org/mailman/listinfo/xmail _______________________________________________ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail