• Jens Axboe's avatar
    [PATCH] scsi_ioctl memcpy'ing user address · 8cc86c08
    Jens Axboe authored
    James reported a bug in scsi_ioctl.c where it mem copies a user pointer
    instead of using copy_from_user(). I inadvertently introduced this one
    when getting rid of CDROM_SEND_PACKET. Here's a trivial patch to fix it.
    8cc86c08
scsi_ioctl.c 11.7 KB