atom feed5 messages in net.sourceforge.lists.courier-users[courier-users] Re: To: postmaster@[x...
FromSent OnAttachments
Alan MilliganDec 22, 2003 6:02 am 
Sam VarshavchikDec 22, 2003 4:12 pm 
Alan MilliganDec 23, 2003 6:14 am 
Sam VarshavchikDec 23, 2003 4:35 pm 
Alan MilliganDec 24, 2003 6:10 am 
Subject:[courier-users] Re: To: postmaster@[x.x.x.x] patch
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Dec 23, 2003 4:35:39 pm
List:net.sourceforge.lists.courier-users

Alan Milligan writes:

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

Sam Varshavchik writes:

| Try to do some more testing, and be sure to try the following command:

| RCPT TO:<postmaster@[>

| and then see what happens&

Dec 24 00:52:21 mistress courierd: newmsg,id=000402CB.3FE8E345.00005D5B: dns; localhost (localhost [127.0.0.1])Dec 24 00:52:21 mistress courierd: started,id=000402CB.3FE8E345.00005D5B,from=<ro@balclutha.org>,module=esmtp,host=[,addr=<postmaster@[> Dec 24 00:52:21 mistress courierd: Waiting. shutdown time=none, wakeup time=none, queuedelivering=1, inprogress=1 Dec 24 00:52:21 mistress courieresmtp: id=000402CB.3FE8E345.00005D5B,from=<ro@balclutha.org>,addr=<postmaster@[>: No such domain.

Looks OK to me ....

Then you managed to get away with a NULL pointer dereference:

- else if (s->token == '[') - { - // doing dot-quad check ie bla@[x.x.x.x] … - int buflen = strlen(s->next->ptr) -1; -

s->next may be NULL, at this point.