<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Apply by doing:
	cd /usr/src
	patch -p0 &lt; 006_dhcpd.patch

And then rebuild and install dhcpd:
	cd usr.sbin/dhcpd
	make obj
	make
	make install

Index: usr.sbin/dhcpd/memory.c
===================================================================
RCS file: /cvs/src/usr.sbin/dhcpd/memory.c,v
retrieving revision 1.10
retrieving revision 1.10.6.1
diff -u -p -r1.10 -r1.10.6.1
--- usr.sbin/dhcpd/memory.c	21 Sep 2004 04:07:04 -0000	1.10
+++ usr.sbin/dhcpd/memory.c	10 Aug 2006 01:51:15 -0000	1.10.6.1
@@ -495,7 +495,7 @@ supersede_lease(struct lease *comp, stru
 		/* Copy the data files, but not the linkages. */
 		comp-&gt;starts = lease-&gt;starts;
 		if (lease-&gt;uid) {
-			if (lease-&gt;uid_len &lt; sizeof (lease-&gt;uid_buf)) {
+			if (lease-&gt;uid_len &lt;= sizeof (lease-&gt;uid_buf)) {
 				memcpy(comp-&gt;uid_buf, lease-&gt;uid, lease-&gt;uid_len);
 				comp-&gt;uid = &amp;comp-&gt;uid_buf[0];
 				comp-&gt;uid_max = sizeof comp-&gt;uid_buf;
</pre></body></html>