filecoin-project / filecoin-project/go-address

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

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
16
Forks
25
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.