Skip to content

avoid stack overflow with negative radius#2404

Merged
mbostock merged 3 commits intomainfrom
mbostock/fix-dodge-invalid-radius
Apr 1, 2026
Merged

avoid stack overflow with negative radius#2404
mbostock merged 3 commits intomainfrom
mbostock/fix-dodge-invalid-radius

Conversation

@mbostock
Copy link
Copy Markdown
Member

@mbostock mbostock commented Apr 1, 2026

Fixes #1912. Supersedes #2385.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heh, we’re already doing the filtering here! We just don’t filter in the constant case. Oops!

@mbostock
Copy link
Copy Markdown
Member Author

mbostock commented Apr 1, 2026

I consolidated the checks. Please take another look. 🙏

@mbostock mbostock merged commit 109fc72 into main Apr 1, 2026
1 check passed
@mbostock mbostock deleted the mbostock/fix-dodge-invalid-radius branch April 1, 2026 22:06
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.

the dodge layout crashes if r is a non-positive constant

2 participants