Re: [exim] mac os x server 10.4 dn_expand crash

Etusivu
Poista viesti
Vastaa
Lähettäjä: Tony Finch
Päiväys:  
Vastaanottaja: exim-users
Kopio: Patrick Milvich
Aihe: Re: [exim] mac os x server 10.4 dn_expand crash
On Tue, 19 Aug 2008, Phil Pennock wrote:
>
> The problem with this patch though is that if the last record has the
> lowest MX then it won't fall back.


Exim has a hard limit of 2048 on the size of a DNS response (unless the OS
defines a bigger limit, but most OSs set it at 512) so it's going to
drop parts of a very large MX RRset anyway. I don't think this is really
worth worrying about.

However, to be safe, all the dn_expand calls need to be checked for
overflow (how annoying) so the patch isn't quite complete.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}