Skip to content

color-device: Don't create profiles from obvious garbage data

Sebastian Wick requested to merge swick/mutter:lcms-profile-check into main

This just checks for any chromaticity being zero but we could do a better job at detecting bad data in the future.

Also check the return value of cmsCreateRGBProfileTHR which can be NULL.

Fixes gnome-shell#5875 (closed)

Merge request reports