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

MarshalCBOR should fail with >64 bytes, which will fail to decode #9

Open
anorth opened this issue Aug 5, 2020 · 0 comments
Open
Labels
bug Something isn't working

Comments

@anorth
Copy link
Member

anorth commented Aug 5, 2020

UnmarshalCBOR limits the payload array to 64 bytes, but MarshalCBOR will happily serialize an address that would fail to decode for this reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant