Peter Wu
f486d9dbcc
HID: logitech-hidpp: disable io in probe error path
...
Balance a hid_device_io_start() call with hid_device_io_stop() in the
error path. This avoids processing of HID reports when the probe fails
which possibly leads to invalid memory access in hid_device_probe() as
report_enum->report_id_hash might already be freed via
hid_close_report().
hid_set_drvdata() is called before wtp_allocate, be consistent and clear
drvdata too on the error path of wtp_allocate.
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2014-12-11 23:10:01 +01:00
..
2014-07-29 11:11:31 +02:00
2014-10-06 23:34:40 +02:00
2013-07-31 10:12:28 +02:00
2014-02-06 14:35:18 +01:00
2013-11-21 09:58:19 +01:00
2013-01-03 10:27:31 +01:00
2013-11-12 19:06:23 +01:00
2013-01-03 10:27:31 +01:00
2014-08-21 10:43:28 -05:00
2013-01-03 10:27:31 +01:00
2014-10-29 10:51:39 +01:00
2014-07-29 11:37:38 +02:00
2013-01-03 10:27:31 +01:00
2014-06-03 13:27:24 +02:00
2013-02-25 13:26:41 +01:00
2013-01-03 10:27:31 +01:00
2013-09-25 11:28:50 +02:00
2013-02-25 13:26:41 +01:00
2013-01-03 10:27:31 +01:00
2013-02-25 13:26:41 +01:00
2013-01-03 10:27:31 +01:00
2014-07-03 11:14:11 -07:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2014-09-08 09:48:56 +02:00
2013-08-05 11:29:57 +02:00
2014-08-12 12:44:59 +02:00
2014-08-04 11:20:20 +02:00
2013-04-24 16:32:27 +02:00
2014-10-29 10:51:39 +01:00
2014-10-22 11:59:58 +02:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2014-08-21 10:43:28 -05:00
2013-01-03 10:27:31 +01:00
2014-07-29 11:24:47 +02:00
2013-10-09 12:06:02 +02:00
2013-09-13 15:12:39 +02:00
2014-08-15 10:54:13 +02:00
2014-08-21 10:43:28 -05:00
2012-09-25 15:41:02 +02:00
2013-09-13 15:12:39 +02:00
2014-10-29 10:51:40 +01:00
2014-12-11 23:10:01 +01:00
2014-08-27 09:14:39 +02:00
2014-04-07 09:54:43 +02:00
2014-08-21 10:43:28 -05:00
2014-04-24 11:45:56 +02:00
2013-09-04 12:00:23 +02:00
2013-01-03 10:27:31 +01:00
2014-09-04 11:23:51 +02:00
2014-08-21 10:43:28 -05:00
2013-02-25 13:26:41 +01:00
2014-07-25 19:10:43 -03:00
2014-08-27 23:27:10 +02:00
2014-06-30 09:54:22 +02:00
2014-05-14 10:53:56 +09:30
2013-02-25 13:26:41 +01:00
2013-02-25 13:26:41 +01:00
2013-04-30 10:19:07 +02:00
2013-09-04 11:58:32 +02:00
2013-01-03 10:27:31 +01:00
2014-02-14 08:14:09 +01:00
2014-09-12 22:57:41 +02:00
2013-09-06 09:30:36 -07:00
2011-06-13 12:52:57 +02:00
2013-10-30 14:17:31 +01:00
2013-10-30 14:17:31 +01:00
2013-09-06 09:30:36 -07:00
2013-03-14 11:50:49 +01:00
2013-09-30 10:51:31 +02:00
2013-04-08 10:33:13 +02:00
2013-09-30 10:51:31 +02:00
2012-11-18 22:58:28 +01:00
2013-10-30 14:17:31 +01:00
2013-11-04 10:55:20 +01:00
2012-11-12 15:30:29 +01:00
2014-06-27 00:33:44 +02:00
2012-10-17 10:44:47 +02:00
2013-09-30 10:51:31 +02:00
2012-11-12 15:30:28 +01:00
2013-10-30 14:17:31 +01:00
2013-10-30 14:17:31 +01:00
2013-10-30 14:17:31 +01:00
2013-06-18 11:00:36 +02:00
2014-05-20 21:28:42 +02:00
2013-01-03 10:27:31 +01:00
2014-09-04 08:49:30 +02:00
2013-02-25 13:26:41 +01:00
2014-09-25 11:23:26 +02:00
2013-08-26 13:51:10 +02:00
2013-09-13 15:12:28 +02:00
2014-08-21 10:43:28 -05:00
2014-10-06 23:34:40 +02:00
2013-01-03 10:27:31 +01:00
2013-02-25 13:26:41 +01:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2014-02-17 14:57:17 +01:00
2013-06-03 11:07:06 +02:00
2013-10-30 14:13:29 +01:00
2013-11-15 16:48:22 -08:00
2013-08-26 13:23:04 +02:00
2013-09-13 15:11:34 +02:00
2013-07-31 10:12:28 +02:00
2014-04-01 19:05:09 +02:00
2014-10-29 10:51:39 +01:00
2014-10-29 10:51:39 +01:00
2014-10-01 20:58:46 +02:00
2014-10-01 09:11:23 +02:00
2014-10-01 09:11:23 +02:00
2014-10-01 09:11:23 +02:00
2014-10-01 09:11:23 +02:00