CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2024/07/25 16:40:08

Modified files:
        usr.bin/ssh    : channels.c channels.h mux.c nchan.c 

Log message:
Fix proxy multiplexing (-O proxy) bug

If a mux started with ControlPersist then later has a forwarding added using
mux proxy connection and the forwarding was used, then when the mux proxy
session terminates, the mux master process will send a channel close to the
server with a bad channel ID and crash the connection.

This was caused by my stupidly reusing c->remote_id for mux channel
associations when I should have just added another member to struct channel.

ok markus@

Reply via email to