]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
upstream: Switch hpdelim interface to accept only ":" as delimiter.
authordtucker@openbsd.org <dtucker@openbsd.org>
Tue, 8 Feb 2022 08:59:12 +0000 (08:59 +0000)
committerDamien Miller <djm@mindrot.org>
Thu, 10 Feb 2022 04:14:17 +0000 (15:14 +1100)
commit45279abceb37c3cbfac8ba36dde8b2c8cdd63d32
tree739b13b19b03c5c8f0b65ff8188240d4f4ee68c1
parenta1bcbf04a7c2d81944141db7ecd0ba292d175a66
upstream: Switch hpdelim interface to accept only ":" as delimiter.

Historicallly, hpdelim accepted ":" or "/" as a port delimiter between
hosts (or addresses) and ports.  These days most of the uses for "/"
are no longer accepted, so there are several places where it checks the
delimiter to disallow it.  Make hpdelim accept only ":" and use hpdelim2
in the other cases.  ok djm@

OpenBSD-Commit-ID: 7e6420bd1be87590b6840973f5ad5305804e3102
auth-options.c
misc.c
readconf.c
servconf.c
session.c
ssh.c