Files
photocraft/crates
7cb26e4f7f cms tests: system_profiles skips malformed named-colour profiles (#24)
On Debian/Ubuntu with colord installed, system_profiles panics on
/usr/share/color/icc/colord/x11-colors.icc ("unsupported ICC feature:
curve type \0\1\0\0"). That profile is a named-colour (nmcl) profile
whose B2A0 lutBToAType is spec-invalid: inputs=3, but the M-curve
offset (32) leaves room for one curve before the matrix offset (48),
and the 48-byte matrix overlaps the B curves at 64. The parser reads
the second M curve at offset 48 and correctly rejects it. Named-colour
profiles are never used for conversions (the test already skips them
after parsing), so skip them when they fail to parse instead of failing
the suite on a host file.

Co-authored-by: storybored379 <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
2026-10-04 10:13:14 -04:00
..
2026-10-01 08:25:06 -04:00
2026-10-01 08:25:06 -04:00
2026-10-01 08:25:06 -04:00
2026-10-01 08:25:06 -04:00
2026-10-01 08:25:06 -04:00
2026-09-30 05:02:08 -04:00
2026-09-30 09:37:18 -04:00