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

Audit fix/to bytes8/16 #308

Merged
merged 3 commits into from
Mar 31, 2023
Merged

Audit fix/to bytes8/16 #308

merged 3 commits into from
Mar 31, 2023

Conversation

clemlak
Copy link
Contributor

@clemlak clemlak commented Mar 31, 2023

Functions converting bytes to bytes8 or bytes16 were not enforcing the length of the data, so I added a length check in both functions (cf https://github.com/spearbit-audits/review-primitive/issues/21).

@clemlak clemlak merged commit 9937617 into spearbit/post-audit Mar 31, 2023
@Alexangelj Alexangelj deleted the audit-fix/toBytes8/16 branch April 17, 2023 16:07
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