-
Notifications
You must be signed in to change notification settings - Fork 18
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
OOB memory access on from-consensus-buff?
#591
Conversation
+ properly increment `offset_result`
+ cargo update + fix clippy error
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #591 +/- ##
==========================================
+ Coverage 85.48% 85.51% +0.02%
==========================================
Files 46 46
Lines 24266 24324 +58
Branches 24266 24324 +58
==========================================
+ Hits 20745 20800 +55
- Misses 1672 1674 +2
- Partials 1849 1850 +1 ☔ View full report in Codecov by Sentry. |
+ modify comment for `deserialize_from_memory`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, just some nitpicking...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR looks good to me. We just need a rewriting of the new created issue, as mentioned in the discussion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You still need to revert the change in Cargo.lock. It is not the responsibility of this PR to update the clarity dependency.
This PR fixes an out of bounds memory access bug on
from-consensus-buff?
.Fixes: #560