ilya-zlobintsev / LACT

Linux GPU Configuration Tool
MIT License
1.45k stars 34 forks source link

Fan curve editing crashes when any non-numerical string is entered #355

Closed ahydronous closed 3 months ago

ahydronous commented 3 months ago

Checklist

Bug description

Edit one of the points on the fan curve and enter anything non-numerical. For example 55C. Press enter. LACT will immediately crash. Entering a non-integer value like 55.1 also acts a bit strange. Although these should just be rounded to the nearest value.

System info

- LACT version: 0.5.4
- GPU model: ASrock Taichi 6800XT
- Kernel version 6.10.3
- Distribution: NixOS 24.05
ilya-zlobintsev commented 3 months ago

Fixed in https://github.com/ilya-zlobintsev/LACT/commit/fe0f8b5e5264c699115418cc0d293d74e30e6ace