valgrind has caught two more uninitialised elements in the SSH
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 1 Nov 2002 12:59:09 +0000 (12:59 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 1 Nov 2002 12:59:09 +0000 (12:59 +0000)
context structure. I knew the Unix port would be a good idea!

git-svn-id: svn://svn.tartarus.org/sgt/putty@2173 cda61777-01e9-0310-a592-d414129be87e

ssh.c

diff --git a/ssh.c b/ssh.c
index 83f23f0..eae4cd5 100644 (file)
--- a/ssh.c
+++ b/ssh.c
@@ -5892,6 +5892,8 @@ static char *ssh_init(void *frontend_handle, void **backend_handle,
     ssh->do_ssh2_transport_state = NULL;
     ssh->do_ssh2_authconn_state = NULL;
     ssh->mainchan = NULL;
+    ssh->throttled_all = 0;
+    ssh->v1_stdout_throttling = 0;
 
     *backend_handle = ssh;