CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2017/09/12 00:35:32

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

Log message:
Make remote channel ID a u_int

Previously we tracked the remote channel IDs in an int, but this is
strictly incorrect: the wire protocol uses uint32 and there is nothing
in-principle stopping a SSH implementation from sending, say, 0xffff0000.

In practice everyone numbers their channels sequentially, so this has
never been a problem.

ok markus@

Reply via email to