Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130825064321.GT20515@brightrain.aerifal.cx>
Date: Sun, 25 Aug 2013 02:43:21 -0400
From: Rich Felker <dalias@...ifal.cx>
To: musl@...ts.openwall.com
Subject: Re: dn_expand() confuses postfix

On Thu, Aug 15, 2013 at 02:14:22PM +0800, orc wrote:
> Other issue now:
> 
> ../test_dns_lookup: lookup yandex.ru type MX flags 2
> ../test_dns_lookup: dns_query: yandex.ru (MX): OK
> ../test_dns_lookup: warning: valid_hostname: invalid character 6(decimal): ?yande.?r
> ../test_dns_lookup: warning: malformed domain name in resource name of MX record for ?yande.?r: ?yande.?r
> ../test_dns_lookup: fatal: Name service error for name=yandex.ru type=MX: Malformed or unexpected name server reply
> 
> ../test_dns_lookup: lookup ya.ru type MX flags 2
> ../test_dns_lookup: dns_query: ya.ru (MX): OK
> ../test_dns_lookup: warning: valid_hostname: invalid character 2(decimal): ?y.?r
> ../test_dns_lookup: warning: malformed domain name in resource name of MX record for ?y.?r: ?y.?r
> ../test_dns_lookup: fatal: Name service error for name=ya.ru type=MX: Malformed or unexpected name server reply
> 
> temp buffer at src/dns/dns_lookup.c:287 is messed up with these.

I believe this was actually a nasty regression in the dn_expand "fix"
-- somehow I thought my tests were checking reverse dns, but they
weren't, and the new code actually had a bad off-by-one error. It
should be fixed now. Let me know if you're still experiencing
problems.

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.