Skip to content

Move ImageCmsTransform mode check into C#9793

Open
radarhere wants to merge 1 commit into
python-pillow:mainfrom
radarhere:cms_mode_mismatch
Open

Move ImageCmsTransform mode check into C#9793
radarhere wants to merge 1 commit into
python-pillow:mainfrom
radarhere:cms_mode_mismatch

Conversation

@radarhere

Copy link
Copy Markdown
Member

GHSA-9hw9-ch79-4vh6

The C extension should also defensively reject mismatched image modes before calling cmsDoTransform().

This PR moves the check from #9715 into C.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant