libtins icon indicating copy to clipboard operation
libtins copied to clipboard

DNS: Increment pointer count only when following pointers (#551)

Open pyksy opened this issue 3 months ago • 0 comments

Pointer loop check in DNS::compose_name() should be done for compression pointers only, not for all labels. Move the pointer loop check under the compression pointer check to prevent a perfectly valid ip6.arpa DNS PTR reply from throwing a pointer loop exception.

pyksy avatar Oct 04 '25 11:10 pyksy