File dnsmasq-CVE-2015-8899.patch of Package dnsmasq.3303

--- src/cache.c.orig
+++ src/cache.c
@@ -479,7 +479,7 @@ struct crec *cache_insert(char *name, st
 	 existing record is for an A or AAAA and
 	 the record we're trying to insert is the same, 
 	 just drop the insert, but don't error the whole process. */
-      if ((flags & (F_IPV4 | F_IPV6)) && (flags & F_FORWARD))
+      if ((flags & (F_IPV4 | F_IPV6)) && (flags & F_FORWARD) && addr)
 	{
 	  if ((flags & F_IPV4) && (new->flags & F_IPV4) &&
 	      new->addr.addr.addr.addr4.s_addr == addr->addr.addr4.s_addr)
openSUSE Build Service is sponsored by