X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/4b42e4f60e38d757ce34554b5f0de2ba48e17372..5e391f65bf316164b139e836a9417d46090a71b7:/portfwd.c?ds=sidebyside diff --git a/portfwd.c b/portfwd.c index 825ee8fb..e21ed3a2 100644 --- 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 */