Re: long PCI names buffer overflow

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

  • Next message: Jan Gyselinck: "Re: 2.3.51 (and .52-pre1, .52-pre2), 2.3.99pre1... don't boot"

    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 : Mon Mar 20 2000 - 05:46:46 EST