aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/stepper.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2016-12-26 12:47:17 -0500
committerKevin O'Connor <kevin@koconnor.net>2016-12-26 12:47:17 -0500
commit800d53db6ad2fe0051c3d37dae08dc2fb1bff255 (patch)
tree7179c67a4756702bb8afd671143b6584283c9417 /klippy/stepper.py
parenta9444d3399e29a1ce91fc60bdaf38e9ed78f1414 (diff)
downloadkutter-800d53db6ad2fe0051c3d37dae08dc2fb1bff255.tar.gz
kutter-800d53db6ad2fe0051c3d37dae08dc2fb1bff255.tar.xz
kutter-800d53db6ad2fe0051c3d37dae08dc2fb1bff255.zip
stepcompress: Rework addfactor integer overflow check
Revert 4a16053c and avoid integer overflows in the addfactor calculation by exiting the loop early if count > 0x200. This provides stronger protection against overflows. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/stepper.py')
0 files changed, 0 insertions, 0 deletions