Files
ardupilot/libraries/AP_HAL_Linux
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-02-25 14:38:45 +11:00
2025-02-25 14:38:45 +11:00
…
2025-10-27 18:43:16 -05:00
…
…
…
…