Dan Carpenter
606185b20c
HID: roccat: potential out of bounds in pyra_sysfs_write_settings()
...
This is a static checker fix. We write some binary settings to the
sysfs file. One of the settings is the "->startup_profile". There
isn't any checking to make sure it fits into the
pyra->profile_settings[] array in the profile_activated() function.
I added a check to pyra_sysfs_write_settings() in both places because
I wasn't positive that the other callers were correct.
Cc: <stable@vger.kernel.org>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2015-01-09 14:41:01 +01:00
..
2014-12-17 09:14:49 +01:00
2014-12-29 11:12:37 +01: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-12-29 11:12:37 +01:00
2014-09-18 11:03:10 -07:00
2013-01-03 10:27:31 +01:00
2014-10-20 21:03:58 +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-12-29 11:12:37 +01:00
2014-12-17 09:02:14 +01:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2014-12-29 11:12:37 +01:00
2013-01-03 10:27:31 +01:00
2014-11-11 11:46:33 +01: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-12-17 08:50:12 +01:00
2014-12-19 11:53:05 +01:00
2014-08-27 09:14:39 +02:00
2014-11-11 11:39:32 +01:00
2014-08-21 10:43:28 -05:00
2014-12-01 21:34:17 +01: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
2014-11-03 14:19:14 +01:00
2013-01-03 10:27:31 +01:00
2014-02-14 08:14:09 +01:00
2014-12-12 11:14:55 +01: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
2014-10-29 14:56:30 +01: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
2015-01-09 14:41:01 +01: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-11-05 15:13:59 +01:00
2013-01-03 10:27:31 +01:00
2014-11-25 16:18:42 +00:00
2013-02-25 13:26:41 +01:00
2014-11-20 15:05:27 +01: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-12-17 17:23:57 +01:00
2014-12-12 11:15:33 +01:00
2014-10-01 20:58:46 +02:00
2014-12-12 11:15:33 +01:00
2014-12-12 11:15:33 +01:00
2014-12-11 23:01:56 +01:00
2014-11-20 17:28:43 +01:00