Right, there is a bug. It actually works for longer or shorter domain parts, but 63 octets is a corner case on the implementation which has a bug. See also