prepare for support for connecting to unix domain sockets using ssh -W
authordjm <djm@openbsd.org>
Tue, 20 Jun 2023 23:59:33 +0000 (23:59 +0000)
committerdjm <djm@openbsd.org>
Tue, 20 Jun 2023 23:59:33 +0000 (23:59 +0000)
commit5f60496ede6923f9642310d023cd476374a9834c
treed528e1cdd99f8defb452477d2d926b66bb9963a6
parent71d823ace2523fb9fee2d1ab9b4d92a18d3f5714
prepare for support for connecting to unix domain sockets using ssh -W
by explicitly decoding PORT_STREAMLOCAL (a negative number) from the u32
that's passed over the multiplexing socket; previously code would just
cast, which is UB.
usr.bin/ssh/mux.c