Try actually initialising ssh->v1_compressing. With any luck this
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 29 Oct 2002 13:05:20 +0000 (13:05 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 29 Oct 2002 13:05:20 +0000 (13:05 +0000)
will be what was causing Owen's crash report today.

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

ssh.c

diff --git a/ssh.c b/ssh.c
index 0cfba57..e60e031 100644 (file)
--- a/ssh.c
+++ b/ssh.c
@@ -1,4 +1,3 @@
-#include <windows.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdarg.h>
@@ -5889,6 +5888,7 @@ static char *ssh_init(void *frontend_handle, void **backend_handle,
     ssh->fallback_cmd = 0;
     ssh->pkt_ctx = 0;
     ssh->x11auth = NULL;
+    ssh->v1_compressing = FALSE;
     ssh->v2_outgoing_sequence = 0;
     ssh->ssh1_rdpkt_crstate = 0;
     ssh->ssh2_rdpkt_crstate = 0;