alex-courtis / way-displays

way-displays: Auto Manage Your Wayland Displays
MIT License
253 stars 13 forks source link

Possibly Corrupted Configuation On Bad Read #3

Closed alex-courtis closed 2 years ago

alex-courtis commented 2 years ago

Cfg may be in an indeterminate state after the yaml parser encounters an error. That can also leak memory.

The messages are also unclear around config loading and errors.

alex-courtis commented 2 years ago

Cfg reading is now done atomically.