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

@turf/unkink-polygon - Fix a potentially unbounded array.push.apply #2506

Merged
merged 1 commit into from
Oct 6, 2023

Conversation

mfedderly
Copy link
Collaborator

See #2504 for the writeup.

test("issue #2504", (t) => {
// fill coords with a circle with an arbitrary number of points
const coords = [];
const points = 1000000;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This number has to be really large in node, I think the limit in Chrome is somewhat smaller

@mfedderly mfedderly merged commit 7c62021 into master Oct 6, 2023
3 checks passed
@mfedderly mfedderly deleted the mf/fix-2504 branch October 6, 2023 15: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.

2 participants