3383925
--- net-tools-1.60/nameif.c.ncpy	2006-10-03 14:24:21.000000000 +0200
3383925
+++ net-tools-1.60/nameif.c	2006-10-03 14:22:43.000000000 +0200
3383925
@@ -100,8 +100,8 @@
3383925
 	struct ifreq ifr;
3383925
 	opensock(); 
3383925
 	memset(&ifr,0,sizeof(struct ifreq));
3383925
-	strcpy(ifr.ifr_name, oldname); 
3383925
-	strcpy(ifr.ifr_newname, newname); 
3383925
+	strncpy(ifr.ifr_name, oldname, IF_NAMESIZE); 
3383925
+	strncpy(ifr.ifr_newname, newname, IF_NAMESIZE); 
3383925
 	return ioctl(ctl_sk, SIOCSIFNAME, &ifr);
3383925
 }
3383925