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-26 15:39:25 -07:00
2023-04-27 10:09:05 -07:00
2023-04-26 12:52:58 -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-02-25 09:19:23 -08:00
2023-04-25 12:02:16 -07: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-02-24 12:58:55 -08:00
2023-04-27 10:09:05 -07:00
2023-04-25 18:32:43 -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-02-24 12:58:55 -08: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-25 17:18:18 -07:00
2023-04-25 12:02:16 -07: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-03-20 15:39:14 +01:00
2023-02-25 11:48:02 -08:00
2023-04-26 12:52:58 -07:00
2023-04-27 10:09:05 -07:00
2023-04-27 10:09:05 -07: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-04-25 17:18:18 -07:00
2023-04-27 11:02:26 -07:00
2023-04-25 17:38:25 -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-26 16:07:23 -07:00
2023-04-26 15:39:25 -07:00
2023-04-27 11:23:36 -07: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-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