~mdw
/
sgt
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb8dd32
)
Don't use an uninitialised value when we get an unsupported ATYP in a
author
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Sat, 12 Apr 2003 21:15:43 +0000
(21:15 +0000)
committer
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Sat, 12 Apr 2003 21:15:43 +0000
(21:15 +0000)
SOCKS5 request. Spotted by GCC.
git-svn-id: svn://svn.tartarus.org/sgt/putty@3113
cda61777
-01e9-0310-a592-
d414129be87e
portfwd.c
patch
|
blob
|
blame
|
history
diff --git
a/portfwd.c
b/portfwd.c
index
825ee8f
..
e21ed3a
100644
(file)
--- a/
portfwd.c
+++ b/
portfwd.c
@@
-220,7
+220,7
@@
static int pfd_receive(Plug plug, int urgent, char *data, int len)
}
if (pr->dynamic == 0x5001) {
- int atype, alen;
+ int atype, alen
= 0
;
if (pr->port < 6) continue;
atype = (unsigned char)pr->hostname[3];
if (atype == 1) /* IPv4 address */