Peter Barker
985d2f6f6f
AP_HAL_Linux: bounds-check channel number in RCOutput write methods
...
RCOutput_PRU, RCOutput_AioPRU_PB2 and RCOutput_AeroIO wrote into their
channel arrays without checking the channel number; every other Linux
RCOutput backend already does. On PRU the overrun is particularly
unpleasant as pending[MAX_PWMS] aliases the corked flag, so a write to
channel 12 uncorks the backend and makes the subsequent push() a no-op.
SRV_Channels::output_ch_all() already sweeps 16 channels by default,
so these overruns are reachable today on pxf, erleboard and pocket2.
2026-09-18 00:10:02 +10:00
..
2025-07-22 10:45:57 +10:00
2025-07-22 10:45:57 +10:00
2026-08-07 19:24:04 +10:00
2025-07-22 10:45:57 +10:00
2024-06-04 09:20:21 +10:00
2025-07-01 10:55:05 +10:00
2025-07-01 10:55:05 +10:00
2024-12-14 10:06:13 +11:00
2024-12-14 10:06:13 +11:00
2026-08-18 11:48:29 +10:00
2025-11-11 10:58:43 +11:00
2024-11-13 06:40:37 +11:00
2025-02-19 15:42:52 +11:00
2025-02-19 15:42:52 +11:00
2025-02-19 15:42:52 +11:00
2025-02-25 14:38:45 +11:00
2025-02-25 14:38:45 +11:00
2025-02-19 15:42:52 +11:00
2025-02-19 15:42:52 +11:00
2025-12-16 09:01:30 +11:00
2025-12-16 09:01:30 +11:00
2025-02-19 15:42:52 +11:00
2025-10-09 22:34:20 +11:00
2025-10-09 22:34:20 +11:00
2025-06-18 05:40:21 +10:00
2025-06-18 05:40:21 +10:00
2024-06-04 09:20:21 +10:00
2025-02-19 15:42:52 +11:00
2024-09-24 22:50:28 +10:00
2025-10-27 18:43:16 -05:00
2025-10-27 18:43:16 -05:00
2025-10-27 18:43:16 -05:00
2026-02-27 17:36:45 +11:00
2024-06-04 09:20:21 +10:00
2025-01-31 09:19:33 +11:00
2025-03-11 12:00:22 +11:00
2024-12-14 10:06:13 +11:00
2024-06-04 09:20:21 +10:00
2024-09-24 22:50:28 +10:00
2025-10-09 22:34:20 +11:00
2025-10-09 22:34:20 +11:00
2025-06-18 05:40:21 +10:00
2025-06-18 05:40:21 +10:00
2026-08-04 11:59:14 +10:00
2025-10-27 18:43:16 -05:00
2025-07-16 10:22:40 +10:00
2024-09-24 22:50:28 +10:00
2025-11-03 18:29:32 -06:00
2025-11-03 18:29:32 -06:00
2026-05-03 10:04:33 +10:00
2025-11-03 18:29:32 -06:00
2026-09-18 00:10:02 +10:00
2026-09-18 00:10:02 +10:00
2026-02-27 17:36:45 +11:00
2026-02-27 17:36:45 +11:00
2026-02-27 17:36:45 +11:00
2025-06-18 05:40:21 +10:00
2025-06-18 05:40:21 +10:00
2025-03-12 18:29:48 +11:00
2025-03-12 18:29:48 +11:00
2026-09-18 00:10:02 +10:00
2026-02-11 18:46:23 +11:00
2026-02-11 18:46:23 +11:00
2025-10-27 18:43:16 -05:00
2025-11-03 18:29:32 -06:00
2025-11-03 18:29:32 -06:00
2025-11-05 20:07:45 +11:00
2026-02-11 18:46:23 +11:00
2026-02-11 18:46:23 +11:00
2025-04-02 19:25:21 +11:00
2025-04-02 19:25:21 +11:00
2024-12-14 10:06:13 +11:00
2024-09-17 10:09:05 +10:00
2025-06-07 15:28:25 +10:00
2025-05-27 11:25:18 +10:00
2026-08-16 10:05:14 +10:00
2025-07-30 12:27:15 +10:00
2026-09-04 09:34:10 +10:00
2024-11-20 07:32:03 +11:00
2024-12-14 10:06:13 +11:00
2024-08-15 22:33:42 +10:00