Fixed out of bounds error in mdns_checkout_name()