~mdw
/
sgt
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbc3272
)
Adam D Ligas's segfault: one form of connection closure was failing
author
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 7 Jan 2001 17:18:12 +0000
(17:18 +0000)
committer
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 7 Jan 2001 17:18:12 +0000
(17:18 +0000)
to set SSH_STATE_CLOSED, causing subsequent resize events to go foom.
git-svn-id: svn://svn.tartarus.org/sgt/putty@844
cda61777
-01e9-0310-a592-
d414129be87e
ssh.c
patch
|
blob
|
blame
|
history
diff --git
a/ssh.c
b/ssh.c
index
8aa6437
..
af1a542
100644
(file)
--- a/
ssh.c
+++ b/
ssh.c
@@
-1121,6
+1121,7
@@
static void ssh_gotdata(unsigned char *data, int datalen)
static int ssh_receive(Socket skt, int urgent, char *data, int len) {
if (!len) {
/* Connection has closed. */
+ ssh_state = SSH_STATE_CLOSED;
sk_close(s);
s = NULL;
return 0;