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

fix: make sure bitfield is within limits #535

Merged
merged 1 commit into from
May 11, 2022

Conversation

vmx
Copy link
Contributor

@vmx vmx commented May 6, 2022

Error if one tries to decode a bitfield that is too large.

I don't know if that's really needed or not. I've added the test case from the Forest Actor Review.

@vmx vmx requested a review from Stebalien May 6, 2022 15:21
Copy link
Member

@Stebalien Stebalien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

@Stebalien
Copy link
Member

But it looks like there's a compilation error.

Error if one tries to decode a bitfield that is too large.
@vmx vmx force-pushed the unvalidated-bitfield-max-size branch from bf5d272 to 07acb80 Compare May 11, 2022 09:10
@vmx
Copy link
Contributor Author

vmx commented May 11, 2022

Rebased, ready to be merged.

@Stebalien Stebalien merged commit c4f4acb into master May 11, 2022
@Stebalien Stebalien deleted the unvalidated-bitfield-max-size branch May 11, 2022 21:36
@Stebalien
Copy link
Member

Thanks!

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