[ldns-users] ldns_resolver_new_frm_fp_l() comment lines bug

Zbynek Michl zbynek.michl at nic.cz
Mon Apr 19 12:30:35 UTC 2010


Hi Wouter,

there is probably another bug in ldns_resolver_new_frm_fp_l(). Function can not 
read "search" list from resolv.conf.

Thanks,
Zbynek

On 18.3.2010 16:40, W.C.A. Wijngaards wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Zbynek,
>
> Fixed in svn r 3210
>
> The example you gave did not fail for me?  It failed with different
> whitespace.  But anyway, the comment handling did not properly handle
> skipping onto the next line, so I fixed that :-)
>
> Thanks for the report!
>     Wouter
>
> On 03/18/2010 02:39 PM, Zbynek Michl wrote:
>> there is probably a bug in ldns_resolver_new_frm_fp_l() function. When I
>> use ldns_resolver_new_frm_file() to read /etc/resolv.conf, it
>> incorrectly handles comment lines.
>>
>> So it seems if some line is commented out, then the next line is ommited
>> too.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkuiSVsACgkQkDLqNwOhpPiHrgCeKKQ1fV5Oa3m2JC1XCEiSGJmW
> r0IAnAxa2XF4C5PUzj76+qdK3v22Y746
> =xDkF
> -----END PGP SIGNATURE-----
> _______________________________________________
> ldns-users mailing list
> ldns-users at open.nlnetlabs.nl
> http://open.nlnetlabs.nl/mailman/listinfo/ldns-users



More information about the ldns-users mailing list