projects
/
u
/
mdw
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b191636
)
Fix an intermittent segfault that prevented the new Zlib compression
author
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 12 Dec 2000 11:07:59 +0000
(11:07 +0000)
committer
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 12 Dec 2000 11:07:59 +0000
(11:07 +0000)
from being very useful. (Thanks to Minefield for catching it.)
git-svn-id: svn://svn.tartarus.org/sgt/putty@820
cda61777
-01e9-0310-a592-
d414129be87e
ssh.c
patch
|
blob
|
blame
|
history
diff --git
a/ssh.c
b/ssh.c
index
e86dff6
..
a408836
100644
(file)
--- a/
ssh.c
+++ b/
ssh.c
@@
-410,6
+410,7
@@
next_packet:
if (pktin.maxlen < st->pad + decomplen) {
pktin.maxlen = st->pad + decomplen;
pktin.data = srealloc(pktin.data, pktin.maxlen+APIEXTRA);
+ pktin.body = pktin.data + st->pad + 1;
if (!pktin.data)
fatalbox("Out of memory");
}