Blame SOURCES/dhcp-4.2.0-add_timeout_when_NULL.patch

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