Dan Carpenter
c0a0cff0f5
cdrom: use copy_to_user() without the underscores
...
commit 822bfa51ce44f2c63c300fdb76dc99c4d5a5ca9f 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>
Signed-off-by: Willy Tarreau <w@1wt.eu>
2012-03-17 14:03:58 +01:00
..
2008-10-02 15:53:13 -07:00
2011-04-30 16:53:07 +02:00
2012-02-11 15:37:24 +01:00
2009-03-16 17:52:52 -07:00
2008-07-24 10:47:41 -07:00
2009-11-09 16:51:59 -08:00
2012-02-11 15:40:54 +01:00
2011-04-30 16:53:29 +02:00
2012-03-17 14:03:58 +01:00
2012-02-11 15:40:53 +01:00
2008-09-11 11:14:29 +02:00
2008-06-27 20:03:24 -07:00
2008-08-08 16:00:48 -04:00
2009-02-06 14:00:40 -08:00
2009-05-02 10:24:54 -07:00
2009-12-08 11:17:31 -08:00
2008-07-20 17:24:40 -07:00
2011-02-09 22:15:36 +01:00
2010-01-28 15:20:01 -08:00
2008-07-21 21:54:53 -07:00
2009-12-18 13:30:43 -08:00
2011-04-30 16:53:23 +02:00
2008-12-05 10:55:11 -08:00
2010-08-26 16:40:13 -07:00
2011-02-09 22:15:35 +01:00
2011-04-30 16:53:14 +02:00
2010-05-26 14:27:09 -07:00
2012-02-11 15:40:54 +01:00
2009-08-16 14:26:57 -07:00
2012-03-17 14:03:54 +01:00
2011-04-30 16:53:23 +02:00
2011-04-30 16:53:19 +02:00
2008-10-03 18:22:18 -07:00
2008-08-26 00:19:28 +10:00
2008-08-05 18:16:58 +02:00
2008-07-21 21:54:53 -07:00
2012-02-11 15:40:56 +01:00
2012-02-11 15:37:31 +01:00
2008-09-13 14:41:52 -07:00
2011-04-30 16:53:40 +02:00
2011-04-30 16:53:09 +02:00
2011-04-30 16:53:08 +02:00
2012-02-11 15:37:15 +01:00
2012-02-11 15:38:27 +01:00
2012-02-11 15:38:36 +01:00
2008-04-29 08:06:19 -07:00
2008-08-20 09:50:21 +10:00
2008-08-26 10:24:46 +10:00
2010-08-10 09:52:55 -07:00
2009-09-08 20:17:46 -07:00
2011-04-30 16:53:18 +02:00
2008-09-22 08:42:50 -07:00
2009-07-30 16:06:11 -07:00
2010-09-20 13:03:22 -07:00
2009-09-24 08:47:27 -07:00
2008-07-10 18:04:43 -07:00
2008-07-30 10:10:23 +01:00
2011-04-30 16:53:31 +02:00
2011-04-30 16:53:12 +02:00
2008-08-11 14:30:53 -07:00
2012-02-11 15:40:55 +01:00
2011-04-30 16:52:59 +02:00
2008-08-04 12:51:06 +09:00
2008-12-13 15:29:16 -08:00
2009-12-18 13:30:47 -08:00
2008-07-25 10:53:43 -07:00
2008-06-25 19:25:42 -04:00
2008-08-21 10:15:39 -07:00
2012-02-11 15:38:21 +01:00
2012-03-17 14:03:57 +01:00
2011-04-30 16:53:11 +02:00
2009-02-17 09:46:17 -08:00
2009-10-12 11:33:22 -07:00
2008-09-08 20:21:15 +02:00
2008-07-24 10:47:13 -07:00
2008-04-30 08:29:52 -07:00
2008-08-13 17:33:00 -07:00