Blame SOURCES/dhcp-add_timeout_when_NULL.patch

26a25c
diff -up dhcp-4.3.0a1/common/dispatch.c.dracut dhcp-4.3.0a1/common/dispatch.c
26a25c
--- dhcp-4.3.0a1/common/dispatch.c.dracut	2013-12-11 01:25:12.000000000 +0100
26a25c
+++ dhcp-4.3.0a1/common/dispatch.c	2013-12-19 15:39:50.350505860 +0100
26a25c
@@ -210,6 +210,10 @@ void add_timeout (when, where, what, ref
26a25c
 	isc_interval_t interval;
26a25c
 	isc_time_t expires;
26a25c
 
26a25c
+	if (when == NULL) {
26a25c
+		return;
26a25c
+	}
26a25c
+
26a25c
 	/* See if this timeout supersedes an existing timeout. */
26a25c
 	t = (struct timeout *)0;
26a25c
 	for (q = timeouts; q; q = q->next) {