mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-10-26 12:24:42 +00:00
Fix trivial access of un-initialised memory.
Thanks to sven falpin for finding this.
This commit is contained in:
1 parent
83f28bef6c
commit
7e5664bdbc
1 file changed
+1
-1
+1
-1
@@ -680,7 +680,7 @@ void receive_query(struct listener *listen, time_t now)
|
||||
dst_addr_4.s_addr = 0;
|
||||
netmask.s_addr = 0;
|
||||
|
||||
if (listen->iface && option_bool(OPT_NOWILD))
|
||||
if (option_bool(OPT_NOWILD) && listen->iface)
|
||||
{
|
||||
auth_dns = listen->iface->dns_auth;
|
||||
|
||||
|
||||
Reference in new issue
Block a user