]> git.hungrycats.org Git - linux/commit
[PATCH] scsi_ioctl memcpy'ing user address
authorJens Axboe <axboe@suse.de>
Tue, 9 Dec 2003 01:03:05 +0000 (17:03 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Tue, 9 Dec 2003 01:03:05 +0000 (17:03 -0800)
commit8cc86c08950c41dc88006534c3508d03cf0dfe39
tree426f9cf12c093656c30e28ae47051b2d04bdc48f
parent5dbe8bb5cb68ac17030248a9b3d02754cdc707b0
[PATCH] scsi_ioctl memcpy'ing user address

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.
drivers/block/scsi_ioctl.c