projects
/
u
/
mdw
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1cfc764
)
Fix a minor valgrind issue in dynamic port-forwarding.
author
jacob
<jacob@cda61777-01e9-0310-a592-d414129be87e>
Wed, 16 Feb 2005 11:56:27 +0000
(11:56 +0000)
committer
jacob
<jacob@cda61777-01e9-0310-a592-d414129be87e>
Wed, 16 Feb 2005 11:56:27 +0000
(11:56 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@5318
cda61777
-01e9-0310-a592-
d414129be87e
ssh.c
patch
|
blob
|
blame
|
history
diff --git
a/ssh.c
b/ssh.c
index
20be698
..
fc20bec
100644
(file)
--- a/
ssh.c
+++ b/
ssh.c
@@
-3808,6
+3808,8
@@
static void ssh_setup_portfwd(Ssh ssh, const Config *cfg)
}
} else {
while (*portfwd_strptr) portfwd_strptr++;
+ host[0] = 0;
+ dports[0] = 0;
dport = dserv = -1;
portfwd_strptr++; /* eat the NUL and move to next one */
}