Skip to content

fix(cbor): raise WAL decode limits for arrays and maps#26

Merged
marino39 merged 1 commit intomasterfrom
fix-cbor-decoder
Mar 30, 2026
Merged

fix(cbor): raise WAL decode limits for arrays and maps#26
marino39 merged 1 commit intomasterfrom
fix-cbor-decoder

Conversation

@marino39
Copy link
Copy Markdown
Contributor

fxamacker/cbor/v2 defaults cap arrays/maps at 131072 elements; large block payloads could exceed that. Use a shared 500k ceiling for MaxArrayElements and MaxMapPairs, handle DecMode errors, and add a regression test for arrays > 131072 elements.

fxamacker/cbor/v2 defaults cap arrays/maps at 131072 elements; large
block payloads could exceed that. Use a shared 500k ceiling for
MaxArrayElements and MaxMapPairs, handle DecMode errors, and add a
regression test for arrays > 131072 elements.
@marino39 marino39 merged commit 138a753 into master Mar 30, 2026
1 check passed
@marino39 marino39 deleted the fix-cbor-decoder branch March 30, 2026 10:10
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