Frank
310daa61a8
improve segment code robustness
...
* Avoid uint16 underflow in width() and height(): stop > start is possible, and means "inactive segment".
* use size_t for ledsrgbSize, _dataLen and _usedSegmentData - uint16_t could overflow in some situations.
* try to catch attempts to allocate zero bytes (inactive segment => size 0)
2023-06-21 01:43:26 +02:00
..
2023-06-16 12:39:38 +02:00
2023-06-07 20:54:04 +02:00
2023-05-31 20:12:17 +02:00
2023-06-15 20:54:57 +02:00
2023-06-15 20:54:57 +02:00
2023-06-15 20:54:57 +02:00
2023-06-02 10:51:16 +02:00
2023-06-07 20:54:04 +02:00
2023-05-03 20:33:23 +02:00
2023-06-15 20:54:57 +02:00
2023-03-30 15:35:00 +01:00
2023-06-07 21:56:55 +02:00
2023-06-12 23:27:09 +02:00
2023-05-16 16:02:47 +02:00
2023-06-21 01:43:26 +02:00
2023-06-21 01:43:26 +02:00
2023-06-18 22:08:55 +02:00
2023-06-21 01:43:26 +02:00
2023-06-16 12:36:04 +02:00
2023-06-16 12:36:04 +02:00
2023-06-16 12:36:04 +02:00
2023-06-16 12:49:46 +02:00
2023-06-16 12:36:04 +02:00
2023-06-16 12:49:46 +02:00
2023-01-06 09:24:29 +01:00
2023-06-07 23:32:36 +02:00
2023-03-22 16:31:07 +01:00
2023-04-13 22:59:09 +02:00
2023-06-07 20:54:04 +02:00
2023-04-30 18:41:30 +02:00
2023-01-06 09:24:29 +01:00
2023-05-30 16:09:51 +02:00
2023-05-31 17:35:43 +02:00
2023-02-24 15:40:16 +01:00
2023-02-24 15:40:16 +01:00
2023-05-28 22:50:19 +02:00
2022-11-02 14:56:50 +01:00
2023-06-21 00:29:16 +02:00
2023-05-03 20:33:23 +02:00
2023-05-11 17:39:12 +02:00
2023-05-03 20:33:23 +02:00
2023-03-23 14:21:42 +01:00
2023-02-04 10:56:07 +01:00
2023-06-15 20:54:57 +02:00
2023-06-07 20:54:04 +02:00
2023-06-21 00:29:16 +02:00
2023-03-16 15:41:23 +01:00
2023-01-06 09:24:29 +01:00
2023-01-06 09:24:29 +01:00
2023-06-03 09:46:08 +02:00
2023-06-09 17:26:44 +02:00
2023-06-07 12:25:41 +02:00
2022-11-06 10:58:19 +01:00
2020-04-10 12:30:08 +02:00
2023-02-21 17:07:32 +01:00
2022-03-20 22:12:18 +01:00
2023-01-06 09:24:29 +01:00
2023-06-02 08:16:03 -04:00
2023-06-01 23:12:45 +02:00
2023-06-15 20:54:57 +02:00
2023-06-21 01:43:26 +02:00
2023-06-04 17:11:26 +02:00
2023-06-07 20:54:04 +02:00