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

Damien Miller <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
   Attachment #3189|                            |ok?([email protected])
              Flags|                            |

--- Comment #2 from Damien Miller <[email protected]> ---
Comment on attachment 3189
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3189
close agent socket after authentication

The problem here is that pubkey_prepare() was setting
authctxt.agent_fd, but it was then being clobbered by the subsequent
authctxt preparation in ssh_userauth2().

The fix moves the pubkey_prepare() call down to after the preparation
of authctxt is complete and also adds some cleanup of agent_fd after it
is closed.

-- 
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.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to