Prevent crashes if a display gives a invalid capabilities string. #4

Open
opened 6 months ago by Okxa · 0 comments
Okxa commented 6 months ago
Owner

Currently if the capabilities string is invalid (null or otherwise), parsing it will crash ddcutil, which will crash this application.

Add checks to prevents that, or check if actually we even need to have invalid displays in the display list. (Once had a situation where display reported as invalid, but worked otherwise, that's why they show up on the list rn.)

Currently if the capabilities string is invalid (null or otherwise), parsing it will crash ddcutil, which will crash this application. Add checks to prevents that, or check if actually we even need to have invalid displays in the display list. (Once had a situation where display reported as invalid, but worked otherwise, that's why they show up on the list rn.)
Okxa added the
Kind: Bug
Priority: High
labels 6 months ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: Okxa/qddcswitch#4
Loading…
There is no content yet.