Finn Thain
fe73b582f1
via-cuda: Prevent read buffer overflow
...
If the Cuda driver does not enter the 'read_done' state for some
reason, it may continue in the 'reading' state until the buffer
overflows. Add a bounds check to prevent this.
Tested-by: Stan Johnson <userm57@yahoo.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2017-02-07 16:56:19 +11:00
..
2016-08-22 11:09:33 +10:00
2010-11-12 07:55:30 -08:00
2014-09-25 23:14:37 +10:00
2011-03-31 11:26:23 -03:00
2016-12-24 11:46:01 -08:00
2007-08-22 22:43:29 -05:00
2007-05-02 16:42:19 +10:00
2016-11-14 11:11:51 +11:00
2013-07-01 11:10:35 +10:00
2016-09-20 20:57:12 +10:00
2010-08-06 09:25:50 -06:00
2012-03-28 18:30:03 +01:00
2014-12-19 19:32:47 +01:00
2013-01-03 15:57:14 -08:00
2016-09-20 20:57:12 +10:00
2016-12-24 11:46:01 -08:00
2012-04-30 15:37:18 +10:00
2015-08-20 16:15:20 +10:00
2017-02-07 16:56:19 +11:00
2012-03-28 18:30:03 +01:00
2011-11-08 22:35:48 +01:00
2016-12-24 11:46:01 -08:00
2014-06-23 13:24:22 +01:00
2016-06-27 08:58:40 +02:00
2016-12-24 11:46:01 -08:00
2013-01-03 15:57:14 -08:00
2015-08-06 15:10:21 +10:00
2012-04-30 15:37:25 +10:00
2013-01-03 15:57:14 -08:00
2013-12-05 16:06:22 +11:00
2012-04-30 15:37:21 +10:00
2013-12-05 16:06:22 +11:00
2012-04-30 15:37:25 +10:00
2016-08-22 11:09:33 +10:00
2014-10-20 16:20:43 +02:00
2014-10-20 16:20:43 +02:00
2016-08-22 11:09:33 +10:00
2014-05-20 10:56:00 +10:00
2016-08-22 11:09:33 +10:00
2012-04-30 15:37:20 +10:00
2013-07-01 11:46:56 +10:00
2012-03-28 18:30:03 +01:00
2015-08-06 15:10:21 +10:00