Blame SOURCES/dhcp-4.2.0-add_timeout_when_NULL.patch

c8bb8f
diff -up dhcp-4.2.0/common/dispatch.c.dracut dhcp-4.2.0/common/dispatch.c
c8bb8f
--- dhcp-4.2.0/common/dispatch.c.dracut	2010-06-01 19:29:59.000000000 +0200
c8bb8f
+++ dhcp-4.2.0/common/dispatch.c	2010-07-21 16:10:09.000000000 +0200
c8bb8f
@@ -189,6 +189,10 @@ void add_timeout (when, where, what, ref
c8bb8f
 	isc_interval_t interval;
c8bb8f
 	isc_time_t expires;
c8bb8f
 
c8bb8f
+	if (when == NULL) {
c8bb8f
+		return;
c8bb8f
+	}
c8bb8f
+
c8bb8f
 	/* See if this timeout supersedes an existing timeout. */
c8bb8f
 	t = (struct timeout *)0;
c8bb8f
 	for (q = timeouts; q; q = q->next) {