-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
crypto/types: fix negative index accesses in CompactUnmarshal,GetIndex,SetIndex #9196
crypto/types: fix negative index accesses in CompactUnmarshal,GetIndex,SetIndex #9196
Conversation
Codecov Report
@@ Coverage Diff @@
## master #9196 +/- ##
=======================================
Coverage 59.70% 59.71%
=======================================
Files 595 595
Lines 37315 37317 +2
=======================================
+ Hits 22279 22283 +4
+ Misses 13057 13056 -1
+ Partials 1979 1978 -1
|
@odeke-em can you enable maintainers to modify the PR. This will allow the mergify bot to handle merging this PR |
Thanks for the reviews and approvals @alessio @cuonglm @AmauryM @marbar3778! @marbar3778 am not sure how to enable that but the branch got out of date from changes on the master branch, and auto merge has been applied before in other PRs of mine. |
Fixes unchecked negative index access that'd cause panics, in CompactBitArray's:
Fixes #9164
Fixes #9165
/cc @cuonglm, we'll need to write fuzz passes to ensure that these code paths don't regress.
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerCodecov Report
in the comment section below once CI passes