diff options
Diffstat (limited to 'net-misc/selfdhcp/files/selfdhcp-0.2a-buffer-overflow.patch')
-rw-r--r-- | net-misc/selfdhcp/files/selfdhcp-0.2a-buffer-overflow.patch | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/net-misc/selfdhcp/files/selfdhcp-0.2a-buffer-overflow.patch b/net-misc/selfdhcp/files/selfdhcp-0.2a-buffer-overflow.patch deleted file mode 100644 index 6f99f7dea895..000000000000 --- a/net-misc/selfdhcp/files/selfdhcp-0.2a-buffer-overflow.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- selfdhcp-0.2a.orig/src/selfdhcp_profiles.c 2004-08-02 18:10:36.000000000 -0400 -+++ selfdhcp-0.2a/src/selfdhcp_profiles.c 2011-01-29 11:54:29.132199679 -0500 -@@ -345,7 +345,7 @@ - { - key = xmlNodeListGetString (doc, cur->xmlChildrenNode, 1); - err_msg (DBG_PROG, "xml element \"%s\"", (char *) key); -- strncpy (netconf_buff.domainname, (char *) key, 49); -+ strncpy (netconf_buff.domainname, (char *) key, sizeof(netconf_buff.domainname)-1); - netconf_buff.what_is_set &= NETADDR; - err_msg (DBG_INFO, "read domain name \"%s\"", - netconf_buff.domainname); |