diff options
author | James Meyer <james.meyer@operamail.com> | 2014-02-16 23:55:51 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2014-02-19 19:03:04 (GMT) |
commit | 5e43b65f3e67974c0b421f631e6b5eeec2bb393c (patch) | |
tree | 22a2aba11b019ad6c2c6bb4124194bc95ba46db7 /abs/core/net-tools/net-tools-1.60-nameif_strncpy.patch | |
parent | 4061895c257e60fa6368b38c4cfd5191f5481a16 (diff) | |
download | linhes_pkgbuild-5e43b65f3e67974c0b421f631e6b5eeec2bb393c.zip linhes_pkgbuild-5e43b65f3e67974c0b421f631e6b5eeec2bb393c.tar.gz linhes_pkgbuild-5e43b65f3e67974c0b421f631e6b5eeec2bb393c.tar.bz2 |
net-tools, nfstools
update binary path to /usr/bin
refs #961
Diffstat (limited to 'abs/core/net-tools/net-tools-1.60-nameif_strncpy.patch')
-rw-r--r-- | abs/core/net-tools/net-tools-1.60-nameif_strncpy.patch | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/abs/core/net-tools/net-tools-1.60-nameif_strncpy.patch b/abs/core/net-tools/net-tools-1.60-nameif_strncpy.patch deleted file mode 100644 index 7568e21..0000000 --- a/abs/core/net-tools/net-tools-1.60-nameif_strncpy.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- net-tools-1.60/nameif.c.ncpy 2006-10-03 14:24:21.000000000 +0200 -+++ net-tools-1.60/nameif.c 2006-10-03 14:22:43.000000000 +0200 -@@ -100,8 +100,8 @@ - struct ifreq ifr; - opensock(); - memset(&ifr,0,sizeof(struct ifreq)); -- strcpy(ifr.ifr_name, oldname); -- strcpy(ifr.ifr_newname, newname); -+ strncpy(ifr.ifr_name, oldname, IF_NAMESIZE); -+ strncpy(ifr.ifr_newname, newname, IF_NAMESIZE); - return ioctl(ctl_sk, SIOCSIFNAME, &ifr); - } - |