simon-svn: putty: simon
Commits to Tartarus CVS repository.
tartarus-commits at lists.tartarus.org
Sat Sep 8 11:40:36 BST 2012
SVN root: svn://svn.tartarus.org/sgt
Changes by: simon
Revision: 9651
Date: 2012-09-08 11:40:36 +0100 (Sat, 08 Sep 2012)
Log message (10 lines):
Hiroshi Oota points out that PuTTY's agent forwarding sockets can get
confused if they receive a request followed by immediate EOF, since we
currently send outgoing EOF as soon as we see the incoming one - and
then, when the response comes back from the real SSH agent, we send it
along anyway as channel data in spite of having sent EOF.
To fix this, I introduce a new field for each agent channel which
counts the number of calls to ssh_agentf_callback that are currently
expected, and we don't send EOF on an agent channel until we've both
received EOF and that value drops to zero.
Modified files:
U putty/ssh.c
Links:
http://svn.tartarus.org/sgt/?rev=9651&view=rev
http://svn.tartarus.org/sgt/putty/ssh.c?rev=9651&r1=9650&r2=9651
More information about the tartarus-commits
mailing list