[ldns-users] ldns_wire2dname() doesn't reject some invalid pointers

Joao Damas Joao at c-l-i.net
Mon Sep 14 10:11:28 UTC 2009


On 7 Sep 2009, at 09:21, W.C.A. Wijngaards wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Robert,
>
> Accept lenient, send strictly.  Hence the acceptance of forward
> pointers for compression.
>
> ldns does check for loops, if that is what you're worried about.
>

it does by keeping track of how many pointers it has dereferenced and  
stopping if it reaches some arbitrary number.
Now, if only "prior occurences" (as per rfc1035) are accepted, loops  
would not be possible, right? (prior meaning target < current,  
excluding =)

Joao



More information about the ldns-users mailing list