Initialize 'inside_topdomain'. Fixes #94
This commit is contained in:
parent
dd13d8bba4
commit
0a968a5144
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue