Skip to content

Limit nested GeometryCollection reader depth - #1233

Open
bjornharrtell wants to merge 1 commit into
locationtech:masterfrom
bjornharrtell:bjornharrtell-limit-nested-geometry-depth
Open

bjornharrtell wants to merge 1 commit into
locationtech:masterfrom
bjornharrtell:bjornharrtell-limit-nested-geometry-depth

Conversation

@bjornharrtell

Copy link
Copy Markdown
Contributor

Add a maximum nesting-depth guard to WKTReader and WKBReader and add regression coverage for deeply nested GeometryCollection input.

Tests: targeted reader tests (31 passed); full modules/core suite (2298 passed).

This PR was drafted with AI assistance.

@bjornharrtell
bjornharrtell force-pushed the bjornharrtell-limit-nested-geometry-depth branch from 2de17c7 to 7ccc608 Compare September 18, 2026 18:19
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Signed-off-by: Björn Harrtell <bjorn@wololo.org>
@bjornharrtell
bjornharrtell force-pushed the bjornharrtell-limit-nested-geometry-depth branch from 7ccc608 to 820dc1a Compare September 18, 2026 18:20

This branch has not been deployed

No deployments
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