Re: long PCI names buffer overflow

From: Tim Waugh (twaugh@redhat.com)
Date: Mon Mar 20 2000 - 05:43:00 EST


On Mon, 20 Mar 2000, Geert Uytterhoeven wrote:

> Unfortunately the kernel doesn't have snprintf() yet, and updating
> vsprintf() for bounds looks quite clumsy. Using strncpy() and
> strncat() is possible here but would be rather complex for the case
> where only the vendor ID is recognized.

Would it be too icky to dynamically allocate dev->name?

Tim.
*/

-
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:29 EST