Dan Carpenter
48cafec9a9
[media] rc: divide by zero bugs in s_tx_carrier()
...
"carrier" comes from a get_user() in ir_lirc_ioctl(). We need to test
that it's not zero before using it as a divisor. It might have been
nice to test for this ir_lirc_ioctl() but the mceusb driver uses zero to
disable carrier modulation.
The bug in redrat3 is a little more subtle. The ->carrier is passed to
mod_freq_to_val() which uses it as a divisor.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com >
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com >
2012-10-06 09:24:39 -03:00
..
2012-09-14 20:54:44 +02:00
2012-10-05 22:32:05 -03:00
2012-08-06 13:29:57 -07:00
2012-08-28 21:01:01 +02:00
2012-08-02 13:51:46 -04:00
2012-09-29 10:31:52 -07:00
2012-08-27 08:36:42 -05:00
2012-08-17 09:21:35 +02:00
2012-09-19 21:51:27 +01:00
2012-08-21 16:45:02 -07:00
2012-09-19 11:00:07 -07:00
2012-08-17 19:37:08 +02:00
2012-10-05 22:32:05 -03:00
2012-10-05 22:32:05 -03:00
2012-09-25 07:38:20 -03:00
2012-09-16 13:22:21 -07:00
2012-07-31 19:07:42 -07:00
2012-10-01 14:52:40 -03:00
2012-09-27 17:58:53 +10:00
2012-09-22 10:58:48 +02:00
2012-07-31 19:07:42 -07:00
2012-10-05 22:32:05 -03:00
2012-09-10 13:19:25 +03:00
2012-10-05 22:32:05 -03:00
2012-08-21 14:54:42 -07:00
2012-08-17 19:37:14 +02:00
2012-08-27 21:15:25 +01:00
2012-09-14 10:42:52 -07:00
2012-10-05 22:32:05 -03:00
2012-09-28 16:14:44 +02:00
2012-09-13 14:58:54 -04:00
2012-09-19 17:42:18 +02:00
2012-09-28 10:00:01 -07:00
2012-10-06 09:24:39 -03:00
2012-07-30 17:25:17 -07:00
2012-10-05 22:32:05 -03:00
2012-08-21 16:45:03 -07:00
2012-10-05 22:32:05 -03:00
2012-10-05 22:32:05 -03:00
2012-10-05 22:32:05 -03:00
2012-08-20 02:16:00 -07:00
2012-08-23 10:53:08 -06:00
2012-09-14 11:18:10 +02:00
2012-08-17 11:09:58 +02:00
2012-09-13 16:46:31 -04:00
2012-08-02 11:52:39 -07:00
2012-07-30 17:25:21 -07:00
2012-09-10 17:04:38 +02:00
2012-08-21 16:45:03 -07:00
2012-09-16 13:22:21 -07:00
2012-09-12 12:03:57 +03:00
2012-09-17 15:00:38 -07:00
2012-09-17 09:58:21 +02:00
2012-09-18 12:29:30 +01:00
2012-09-25 11:51:05 +09:00
2012-10-05 22:32:05 -03:00
2012-10-01 14:52:40 -03:00
2012-09-07 11:32:54 -07:00
2012-07-31 18:08:25 -07:00
2012-10-05 22:32:05 -03:00
2012-10-05 22:32:05 -03:00
2012-09-21 10:48:28 -06:00
2012-08-20 14:52:11 -07:00
2012-10-05 22:32:05 -03:00
2012-08-16 12:33:59 -07:00
2012-09-10 17:33:17 +02:00
2012-09-12 11:21:40 -04:00
2012-07-31 08:16:22 -06:00
2012-07-31 08:16:22 -06:00