mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-11-06 13:25:44 +01:00
If a get_status() method returns a mutable object (such as a list or dict) then it would be possible for a gcode command template to incorrectly alter the program's internal state. Perform a deepcopy() operation on all get_status() return results to avoid that. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2.1 KiB
2.1 KiB