You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On certain configurations the EDID retrieval and parsing seems to fail, leading to create_patched_edid accessing out of bounds indexes on a zero length vector. This causes gamescope to crash on launch.
While an error is logged in the case where parsing fails, this was not handled as edid_data is assumed to contain valid and non-empty data
as it's passed to create_patched_edid.
This points to a potential underlying bug in di_info_parse_edid in libdisplay-info, but it still seems reasonable to guard against parsing errors in general?
The offending input to di_info_parse_edid in libdisplay-info is (base64 encoded):
On certain configurations the EDID retrieval and parsing seems to fail, leading to create_patched_edid accessing out of bounds indexes on a zero length vector. This causes gamescope to crash on launch.
In my gamescope output I see:
While an error is logged in the case where parsing fails, this was not handled as
edid_data
is assumed to contain valid and non-empty dataas it's passed to
create_patched_edid
.This points to a potential underlying bug in
di_info_parse_edid
in libdisplay-info, but it still seems reasonable to guard against parsing errors in general?The offending input to
di_info_parse_edid
in libdisplay-info is (base64 encoded):The text was updated successfully, but these errors were encountered: