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

Canonical Messagepack: add missing constraints #100

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

iansuvak
Copy link

@iansuvak iansuvak commented Sep 6, 2023

While developing msgp codegen that would verify message canonicity at unmarshal time I noticed that the spec isn't fully specified. This adds the missing rules.

I've expanded rule 4 to not make it specific to integers but catch all variable length fields but we could break it out further if preferred.

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.

1 participant