Repository navigation
Keep deeply nested form and report Blobs from overflowing the stack - #156
Merged
Merged
Conversation
- Read the tree of a Blob at most MAX_TREE_DEPTH (256) levels deep in both formats, as macro XML already is, since a broken file could nest it deep enough to overflow the stack and abort the process - Deeper, a Blob of Access 2002 and later is not read as a tree and its controls are found by their Name entries, and a Blob of the Access 2000 format is not read, as for other bytes that do not fit the format - Test both formats at the limit, one level over it, and at 100,000 levels on a stack of 1 MB, the stack of Wasm Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
CoverageFor f10c780. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
MAX_TREE_DEPTH), the limit macro XML already has. Deeper, a Blob of Access 2002 and later is not read as a tree and its controls are found by their Name entries, as for other Blobs that do not read as a tree; a Blob of the Access 2000 format is not read, as other broken Blobs. Real forms nest a few levels.jetdb form propsandjetdb form controlsgive the same output before and after for the 557 forms and reports of the test data. New tests read both formats at the limit, one level over it and at 100,000 levels on a 1 MB stack; the deep ones aborted before.🤖 Generated with Claude Code