[bug] M595: crashes for very large input length
-
@dc42
It's just a small bug, but it can hit you hard if you are not aware of it.setting the queue length to a very large number, so that it will overflow, will cause the firmware to crash, as the checks will not catch that case.
tested on
RepRapFirmware for Duet 3 MB6HC version 3.5.0-rc.1 (2023-08-31 16:19:24) running on Duet 3 MB6HC v1.02 or later (SBC mode)
e.g.M595 P4294967295
and when fixing it, it should also not be possible to change the queue length while moving or printing, as it will make your machine go crazy.