wrong max port range in parse_port_range()
https://gitweb.torproject.org/tor.git/blob/HEAD:/src/common/address.c#l1529 :
port_max = (int)tor_parse_long(port, 10, 1, 65536, &ok, &endptr);
The good thing is that if 65536
is given as port_max
in the above code, it's still caught by:
if (port_max > 65535)
port_max = 65535;