diff --git a/CHANGELOG b/CHANGELOG index 888beac..8852dc1 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -30,6 +30,7 @@ CHANGES: - Merged low-latency patch from Anne Bezemer, fixes #76. - Resolve client nameserver argument if given as hostname, fixes #82. - Open log before chroot, fixes #86: logging on FreeBSD. + - Fix DNS tunneling bug caused by uninitialized variable, #94 2009-06-01: 0.5.2 "WifiFree" - Fixed client segfault on OS X, #57 diff --git a/src/iodined.c b/src/iodined.c index 8aa1efb..7dcf138 100644 --- a/src/iodined.c +++ b/src/iodined.c @@ -1567,7 +1567,7 @@ tunnel_dns(int tun_fd, int dns_fd, int bind_fd) struct query q; int read; int domain_len; - int inside_topdomain; + int inside_topdomain = 0; if ((read = read_dns(dns_fd, tun_fd, &q)) <= 0) return 0;