![]() | |||||||||||
Messages in this thread |
On Thu, 27 Nov 2003 17:33:20 +0900 (JST) YOSHIFUJI Hideaki / _$B5HF#1QL@ <yoshfuji@linux-ipv6.org> wrote: > - strcpy(t->parms.name, dev->name); > + strlcpy(t->parms.name, dev->name, IFNAMSIZ); > sizeof(t->parms.name) > > or something like that. I agree, using sizeof() is the less error prone way of doing things like this. Felipe could you please rewrite your patch like this? Thank you. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||
| Last update: 2005-03-22 13:58 [from the cache] ©2003-2008 | |||||||||||