Dan Carpenter
c99626092e
thermal: core: prevent potential string overflow
...
The dev->id value comes from ida_alloc() so it's a number between zero
and INT_MAX. If it's too high then these sprintf()s will overflow.
Fixes: 203d3d4aa482 ("the generic thermal sysfs driver")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2023-10-11 16:15:09 +02:00
..
2023-08-16 12:22:28 +02:00
2023-09-05 21:42:18 +02:00
2023-08-16 12:33:11 +02:00
2023-08-16 09:54:39 +02:00
2023-08-16 12:11:19 +02:00
2023-07-31 20:03:42 +02:00
2023-08-22 19:10:28 +02:00
2023-09-11 17:16:40 +02:00
2023-07-31 20:03:42 +02:00
2023-09-05 21:42:18 +02:00
2023-04-03 20:43:32 +02:00
2023-05-03 11:46:01 -07:00
2023-03-03 20:45:03 +01:00
2023-08-16 12:09:19 +02:00
2023-04-01 20:51:45 +02:00
2023-09-05 21:42:18 +02:00
2023-09-28 12:55:29 +02:00
2023-09-28 12:55:29 +02:00
2023-09-28 12:55:29 +02:00
2023-09-28 12:55:29 +02:00
2022-08-30 20:18:47 +02:00
2023-07-31 20:03:42 +02:00
2023-08-16 09:54:39 +02:00
2023-07-31 20:03:42 +02:00
2023-07-31 20:03:42 +02:00
2023-08-16 12:19:28 +02:00
2023-08-16 12:18:02 +02:00
2023-08-17 09:27:18 +02:00
2021-01-19 22:31:10 +01:00
2023-09-05 21:42:18 +02:00
2023-08-17 09:27:18 +02:00
2023-08-17 09:27:18 +02:00
2023-08-16 12:33:53 +02:00
2023-06-26 12:03:14 +02:00
2023-07-31 20:03:42 +02:00
2023-07-31 20:03:42 +02:00
2023-04-07 10:31:33 +02:00
2023-07-31 20:03:42 +02:00
2023-09-05 21:42:18 +02:00
2023-07-31 20:03:42 +02:00
2023-08-16 12:31:22 +02:00
2023-02-02 15:26:45 +01:00
2023-10-11 16:15:09 +02:00
2023-09-28 12:55:29 +02:00
2023-09-28 12:55:29 +02:00
2023-06-26 12:03:14 +02:00
2023-03-03 20:45:02 +01:00
2023-03-03 20:45:02 +01:00
2023-01-25 16:40:39 +01:00
2023-01-25 16:40:39 +01:00
2023-09-11 17:16:36 +02:00
2023-09-28 12:55:29 +02:00
2023-04-01 20:51:45 +02:00
2023-04-01 20:51:45 +02:00
2023-10-05 13:13:40 +02:00
2023-08-16 12:36:21 +02:00
2023-07-31 20:03:42 +02:00