[Bug 3971] Race condition when using ControlMaster=auto with simultaneous connections

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sun Aug 16 00:32:58 AEST 2026


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

Jens Rosenboom <jens.rosenboom at web.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #3967|0                           |1
        is obsolete|                            |

--- Comment #7 from Jens Rosenboom <jens.rosenboom at web.de> ---
Created attachment 3977
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3977&action=edit
Fix race condition

Fix race condition when using ControlMaster=auto with simultaneous
connections

Update after self-review:
- Added test for correct handling of a stale control socket
- Don't create new master control socket for any ControlCommands
("-O...")
- Check that control socket is removed after exit command

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


More information about the openssh-bugs mailing list