aboutsummaryrefslogtreecommitdiff
path: root/net/isc-dhcp3-server/files/extra-patch-client::clparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/isc-dhcp3-server/files/extra-patch-client::clparse.c')
-rw-r--r--net/isc-dhcp3-server/files/extra-patch-client::clparse.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/isc-dhcp3-server/files/extra-patch-client::clparse.c b/net/isc-dhcp3-server/files/extra-patch-client::clparse.c
new file mode 100644
index 000000000000..4140cc6e3109
--- /dev/null
+++ b/net/isc-dhcp3-server/files/extra-patch-client::clparse.c
@@ -0,0 +1,11 @@
+--- client/clparse.c.orig Mon Feb 10 01:39:57 2003
++++ client/clparse.c Wed Mar 3 01:35:39 2004
+@@ -785,7 +785,7 @@
+ if (status != ISC_R_SUCCESS)
+ log_fatal ("Can't record interface %s: %s",
+ name, isc_result_totext (status));
+- strcpy (ip -> name, name);
++ strlcpy (ip -> name, name, IFNAMSIZ);
+ if (dummy_interfaces) {
+ interface_reference (&ip -> next,
+ dummy_interfaces, MDL);