Re: [patch] 2.3.99-pre3-3: dev_alloc_name

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Tue Mar 21 2000 - 17:14:38 EST


kuznet@ms2.inr.ac.ru wrote:
> > get overwritten by dev_alloc_name. Here's the trivial fix for that.
>
> Not strdup. Device name _MUST_ have IFNAMSIZ writable bytes.

Including or excluding the terminating null?

-- 
Jeff Garzik              | Tact is the ability to tell a man 
Building 1024            | he has an open mind when he has a
MandrakeSoft, Inc.       | hole in his head.  (-random fortune)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:34 EST