Blame SOURCES/dnsmasq-2.66-rh1275626.patch

155a36
--- dnsmasq-2.66/src/dhcp-common.c.orig	2016-05-31 12:59:36.269904624 +0200
155a36
+++ dnsmasq-2.66/src/dhcp-common.c	2016-05-31 12:58:49.929904889 +0200
155a36
@@ -316,9 +316,10 @@
155a36
 	  
155a36
 	  /* dhcpcd prefixes ASCII client IDs by zero which is wrong, but we try and
155a36
 	     cope with that here */
155a36
-	  if (!(context->flags & CONTEXT_V6) && *clid == 0 && config->clid_len == clid_len-1  &&
155a36
+	  if ((!context || !(context->flags & CONTEXT_V6)) && (!clid || *clid == 0) &&
155a36
+	      config->clid_len == clid_len-1  &&
155a36
 	      memcmp(config->clid, clid+1, clid_len-1) == 0 &&
155a36
-	      is_config_in_context(context, config))
155a36
+	      (!context || is_config_in_context(context, config)))
155a36
 	    return config;
155a36
 	}
155a36