Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Celiagg backend freezes if passed a dash specification with total length 0 or less #909

Closed
corranwebster opened this issue Mar 11, 2022 · 1 comment · Fixed by #910
Closed
Milestone

Comments

@corranwebster
Copy link
Contributor

The CPU goes to 100% and the app freezes.

This can be replicated by trying to draw a path with something like:

gc.set_line_dash([0.0, 0.0])
@corranwebster corranwebster added this to the 5.3.0 Release milestone Mar 11, 2022
@corranwebster
Copy link
Contributor Author

Simple fix is to add a sanity check in the set_line_dash method.

corranwebster added a commit that referenced this issue Mar 11, 2022
corranwebster added a commit that referenced this issue Mar 16, 2022
* Sanity check dash arguments.

Fixes #909.

* Fix dash sanity test.
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 a pull request may close this issue.

1 participant