[Bug 3894] SSH unable to open a new channel if the channel open request came right after a channel close request

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Nov 17 01:57:32 AEDT 2025


https://bugzilla.mindrot.org/show_bug.cgi?id=3894

--- Comment #3 from Alan Thomas <alanthomasmt at gmail.com> ---
Thanks Damien for the write-up. I understand why a garbage collector is
needed. 

Do you think the issue that I had mentioned here is valid? That is, if
there are channel close and channel open in the buffered_input_packets,
no garbage collector would be called until all buffered are processed.
This results in a case where the ssh client thinks that the openssh
server had closed a channel and is now open to process a new channel.
But upon trying a channel open, the client will face failure because
the channel counter was not decremented until the garbage collector is
called.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list