Blame SOURCES/dhcp-4.2.0-add_timeout_when_NULL.patch

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