Files
linux/drivers
Dan Carpenter 6b06abace4 cdrom: use copy_to_user() without the underscores
commit 822bfa51ce upstream.

"nframes" comes from the user and "nframes * CD_FRAMESIZE_RAW" can wrap
on 32 bit systems.  That would have been ok if we used the same wrapped
value for the copy, but we use a shifted value.  We should just use the
checked version of copy_to_user() because it's not going to make a
difference to the speed.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-02-29 16:34:35 -08:00
..
2012-02-06 09:24:01 -08:00
2012-02-13 11:06:13 -08:00
2012-01-25 17:24:54 -08:00
2012-01-25 17:24:56 -08:00
2012-01-25 17:24:44 -08:00
2012-01-06 14:13:48 -08:00
2011-11-21 14:31:14 -08:00