increase length check in _unpickle_context
The length check len(name) < 100 fails if longer hostnames are used. A hostname may be 255 bytes long, in addition with ssh as transport and if a bastion host is used this may result in a 518 character long string (ssh.<bastionhost>.ssh.<targethost> ~max 4 + 255 +4 + 255 ). So the length check should be increased to allow max 518 character.pull/825/head
parent
36f3e3b28c
commit
09124abc9f
Loading…
Reference in New Issue