Skip to content

Conversation

@calc84maniac
Copy link
Contributor

Fixes #673, verified fix against FishCE and using a new test program.

Also, as a behavioral fix compared to before the clipping logic was broken, signed overflow of start + length is handled as if saturated (so negative lengths are never drawn, and positive lengths causing an overflow past INT_MAX will be drawn all the way to the right of the clip region).

@merthsoft
Copy link
Contributor

Yey!

@mateoconlechuga mateoconlechuga merged commit 9d0950c into master Dec 22, 2025
9 checks passed
@mateoconlechuga mateoconlechuga deleted the graphx-clipping-fixes branch December 22, 2025 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

SMC for clipping parameters crashes for certain values

3 participants