-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
|
| Sam Varshavchik writes:
|
|
|
| Then you managed to get away with a NULL pointer dereference:
|
|- else if (s->token =3D=3D '[')
|- {
|- // doing dot-quad check ie bla@[x.x.x.x] =E2=80=A6
|- int buflen =3D strlen(s->next->ptr) -1;
|-
|
|s->next may be NULL, at this point.
|
Heh - yes on closer inspection you are right. However, miraculously the
code doesn't break. Another interesting 'feature' appears to be that it
logs a "513 No such domain', instead of a '513 Syntax Error.' ...
I've wasted loads of time on this grovelling around the bowels of
rfc822t singly linked lists and rfc1035mxlist structures getting this
far - how about helping me out of the sewage and take a moment to fix
this properly, for which I will be eternally grateful!
Merry Christmas,
Alan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
Comment:
iD8DBQE/6jX4CfroLk4EZpkRAg+UAKCoi4oI/a+BnZVF3YDhr7OXextL3QCePCRM
q456H4KmWWLetSMk6SMG7As=
=4y5H
-----END PGP SIGNATURE-----