Jason Gerecke
d9eef346b6
HID: wacom: Check for string overflow from strscpy calls
...
The strscpy function is able to return an error code when a copy would
overflow the size of the destination. The copy is stopped and the buffer
terminated before overflow actually occurs so it is safe to continue
execution, but we should still produce a warning should this occur.
Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Reviewed-by: Ping Cheng <ping.cheng@wacom.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2023-05-23 15:06:36 +02:00
..
2023-04-27 08:28:08 -07:00
2023-04-25 18:44:10 -07:00
2023-04-05 15:03:17 +02:00
2023-02-24 12:47:33 -08:00
2023-04-26 15:39:25 -07:00
2023-03-21 20:19:28 -07:00
2023-04-27 10:09:05 -07:00
2023-04-14 15:32:56 +03:00
2023-04-26 12:52:58 -07:00
2023-04-23 22:07:27 -07:00
2023-04-27 10:09:05 -07:00
2023-04-27 11:07:18 -07:00
2023-03-21 10:47:06 -07:00
2023-04-27 10:09:05 -07:00
2023-03-18 09:26:40 -04:00
2023-04-27 10:09:05 -07:00
2023-04-27 10:09:05 -07:00
2023-04-26 08:32:52 -07:00
2023-04-04 15:37:25 -07:00
2023-02-25 09:19:23 -08:00
2023-04-04 00:09:32 +09:00
2023-03-31 18:17:21 +05:30
2023-03-29 15:45:38 +02:00
2023-04-25 12:02:16 -07:00
2023-04-05 15:10:14 -05:00
2023-03-24 19:19:19 -04:00
2023-04-27 10:58:37 -07:00
2023-04-25 18:37:41 -07:00
2023-04-25 17:18:18 -07:00
2023-04-27 08:28:08 -07:00
2023-05-23 15:06:36 +02:00
2023-02-24 12:58:55 -08:00
2023-04-27 10:09:05 -07:00
2023-04-25 10:48:08 -07:00
2023-04-25 18:32:43 -07:00
2023-03-21 12:31:02 +00:00
2023-04-27 11:15:36 -07:00
2023-02-28 16:05:01 -08:00
2023-02-21 12:13:58 -08:00
2023-04-27 11:02:26 -07:00
2023-04-26 15:39:25 -07:00
2023-04-25 18:32:43 -07:00
2023-03-13 21:13:48 +02:00
2023-04-04 11:04:30 -03:00
2023-02-24 12:58:55 -08:00
2023-04-27 10:09:05 -07:00
2023-03-24 19:09:57 -07:00
2023-02-23 15:09:31 -08:00
2023-02-25 11:00:06 -08:00
2023-04-25 17:38:25 -07:00
2023-04-26 13:05:21 -07:00
2023-04-25 17:18:18 -07:00
2023-04-25 12:02:16 -07:00
2023-04-05 11:45:35 +02:00
2023-03-24 20:38:50 -04:00
2023-04-26 16:07:23 -07:00
2023-04-25 16:12:15 -07:00
2023-04-17 11:51:14 +02:00
2023-04-27 11:02:26 -07:00
2023-04-27 11:02:26 -07:00
2023-04-24 18:12:42 -07:00
2023-03-20 15:39:14 +01:00
2023-02-25 11:48:02 -08:00
2023-04-26 12:52:58 -07:00
2023-03-10 10:55:49 +01:00
2023-04-27 10:09:05 -07:00
2023-04-27 10:09:05 -07:00
2023-04-05 22:15:19 +02:00
2023-03-23 12:22:19 +09:00
2023-04-27 10:45:30 -07:00
2023-02-24 12:58:55 -08:00
2023-04-25 12:39:01 -07:00
2023-03-20 09:08:48 +00:00
2023-04-25 17:18:18 -07:00
2023-04-27 11:02:26 -07:00
2023-04-04 10:43:52 -05:00
2023-03-31 19:32:43 +02:00
2023-03-03 10:30:58 -08:00
2023-02-20 14:56:51 +01:00
2023-03-30 14:43:03 -07:00
2023-03-23 14:44:43 +01:00
2023-04-25 18:32:43 -07:00
2023-04-25 17:38:25 -07:00
2023-04-19 12:43:19 -07:00
2023-03-03 09:15:50 -08:00
2023-04-26 16:07:23 -07:00
2023-04-27 10:09:05 -07:00
2023-04-26 16:07:23 -07:00
2023-03-01 09:44:22 -08:00
2023-04-27 10:58:37 -07:00
2023-02-24 17:29:52 -08:00
2023-04-27 11:02:26 -07:00
2023-04-27 11:02:26 -07:00
2023-04-11 20:49:43 -04:00
2023-04-26 08:32:52 -07:00
2023-04-27 10:09:05 -07:00
2023-03-20 19:00:58 +02:00
2023-04-26 16:07:23 -07:00
2023-04-26 15:39:25 -07:00
2023-02-23 17:09:35 -08:00
2023-04-27 11:23:36 -07:00
2023-04-04 14:22:12 -04:00
2023-04-04 11:04:30 -03:00
2023-04-26 16:07:23 -07:00
2023-04-27 11:19:51 -07:00
2023-04-27 10:09:05 -07:00
2023-04-06 20:36:27 +02:00
2023-04-27 10:09:05 -07:00
2023-03-02 11:12:01 -08:00
2023-04-26 15:39:25 -07:00
2023-02-26 11:53:25 -08:00