Ramon Roche
3f04b7a95a
fix(tattu_can): validate CAN frame bounds before buffer copy
...
Add bounds checking in the CAN frame assembly loop to prevent a buffer
overflow when copying payloads into the Tattu12SBatteryMessage struct.
A crafted CAN frame with a corrupt payload_size could write past the
48-byte struct boundary. Also guard against payload_size of 0 which
would cause an unsigned integer underflow on the size_t subtraction.
Fixes GHSA-wxwm-xmx9-hr32
Signed-off-by: Ramon Roche <mrpollo@gmail.com>
2026-03-13 09:16:01 -07:00
..
2026-03-11 08:08:05 -07:00
2026-02-19 15:17:17 +13:00
2026-02-19 15:17:17 +13:00
2026-02-24 09:48:33 -07:00
2025-06-17 09:05:22 +02:00
2025-11-19 13:58:58 -05:00
2024-12-19 07:30:25 +01:00
2026-03-12 12:42:07 -08:00
2026-02-19 15:17:17 +13:00
2025-07-11 08:53:52 -06:00
2026-02-22 09:36:15 -07:00
2026-02-25 18:51:49 -05:00
2026-02-19 15:17:17 +13:00
2026-03-11 08:18:53 -07:00
2025-12-17 17:48:30 +01:00
2026-02-19 15:17:17 +13:00
2026-03-04 21:12:13 -07:00
2026-01-31 17:57:39 -09:00
2026-03-04 22:15:39 -09:00
2026-03-02 18:18:00 +11:00
2026-02-19 15:17:17 +13:00
2026-02-19 15:17:17 +13:00
2026-01-29 19:38:20 -09:00
2024-04-18 20:57:37 -04:00
2026-02-27 00:04:45 -09:00
2026-03-06 09:00:52 +01:00
2026-02-10 11:46:44 -07:00
2026-02-19 15:17:17 +13:00
2026-02-19 15:17:17 +13:00
2026-03-06 09:00:52 +01:00
2026-03-11 19:50:52 +01:00
2025-03-10 18:59:52 -04:00
2026-03-13 09:13:06 -07:00
2026-02-19 15:17:17 +13:00
2026-02-19 15:17:17 +13:00
2024-07-19 14:33:36 +02:00
2024-12-19 07:30:25 +01:00
2026-02-19 15:17:17 +13:00
2026-02-19 15:17:17 +13:00
2025-06-17 09:05:22 +02:00
2026-02-19 15:17:17 +13:00
2026-03-13 09:16:01 -07:00
2026-03-13 09:12:40 -07:00
2026-01-12 18:42:51 +01:00
2024-07-19 14:33:36 +02:00
2026-02-19 15:17:17 +13:00
2026-02-19 15:17:17 +13:00
2026-03-06 12:32:57 -07:00
2026-02-23 16:47:38 -09:00
2026-02-19 15:17:17 +13:00
2026-02-19 15:17:17 +13:00
2026-02-19 15:17:17 +13:00
2026-02-03 13:14:47 +13:00
2024-09-19 09:25:18 +03:00
2025-03-12 12:55:15 -06:00
2024-09-19 09:25:18 +03:00
2024-09-19 09:25:18 +03:00
2024-09-19 09:25:18 +03:00
2024-09-19 09:25:18 +03:00
2026-03-04 22:15:39 -09:00