Fix bug #64458 (dns_get_record result with string of length -1)