[ldns-users] oxffffffff in dns records cause a syntax error in ldns-read-zone

Miek Gieben miek at miek.nl
Tue Jan 11 19:23:32 UTC 2011


[ Quoting Miek Gieben in "Re: [ldns-users] oxffffffff in dns "... ]
> ldns decides the records are too long:
> (59 x \255)
> 
> works, 1 more doesn't:
> (60 x \255)
> 


str2host.c

 287         len = strlen((char*)str);
 288         /* octet representation can make strings a lot longer than actual length */
 289         if (len > LDNS_MAX_DOMAINLEN * 4) {
 290                 return LDNS_STATUS_DOMAINNAME_OVERFLOW;
 291         }

grtz,
        Miek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.nlnetlabs.nl/pipermail/ldns-users/attachments/20110111/a55f6b26/attachment.bin>


More information about the ldns-users mailing list