• Pavel Roskin's avatar
    [PATCH] USB: name uninitialized in scanner.c · a6fc631d
    Pavel Roskin authored
    Linux 2.5.69-bk18 prints something strange to the kernel log when the USB
    scanner is attached.  It turns out drivers/usb/image/scanner.c uses
    uninitialized variable "name" in probe_scanner() in the printk() call.
    That means that random memory is read and output to the kernel log.
    a6fc631d
scanner.c 36.8 KB