Skip to content

fix nested indefinite-length container decoding#30

Open
vapranav wants to merge 1 commit intocabo:masterfrom
vapranav:fix-nested-indefinite-length-decode
Open

fix nested indefinite-length container decoding#30
vapranav wants to merge 1 commit intocabo:masterfrom
vapranav:fix-nested-indefinite-length-decode

Conversation

@vapranav
Copy link

@vapranav vapranav commented Mar 26, 2026

Fixes #20 - CBOR.decode throws CBOR::MalformedFormatError when decoding valid CBOR containing nested indefinite-length maps or arrays (e.g., bf...bf...ff ff).

@vapranav
Copy link
Author

@cabo hi there, could this be reviewed? 🙇

@cabo
Copy link
Owner

cabo commented Mar 26, 2026

Absolutely! I plan to write a few more tests and merge this.
I won't have much time before Saturday, so do expect some feedback then.
Thank you for doing this work!

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.

Decode does not work for CBOR produced by Kotlin serializer

2 participants