Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Allow ssh://user@host:</path> as url scheme
Baptiste Daroussin committed 6 years ago
commit 37439ca7995ba20557f8c9b8fe31c199793c4d12
parent 1e5846f59081ea129889ba8e1685643486f580c2
1 file changed +3 -1
modified external/libfetch/fetch.c
@@ -426,7 +426,9 @@ fetchParseURL(const char *URL)
				goto ouch;
			}
		}
-
		if (n < 1 || n > IPPORT_MAX)
+
		/* pkg extension allow for ssh compat */
+
		/*if (n < 1 || n > IPPORT_MAX) */
+
		if (n < 0 || n > IPPORT_MAX)
			goto ouch;
		u->port = n;
		p = q;