-
Notifications
You must be signed in to change notification settings - Fork 297
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(pkg/proof): reject negative indices in QueryTxInclusionProof (#3141)
This change ensures that any negative indices are outright rejected to avoid any future overflows due to the wrapping around of uint64(v) and control from and outside caller. Fixes #3140. (cherry picked from commit adb7a57) # Conflicts: # pkg/proof/proof_test.go
- Loading branch information
1 parent
b25766f
commit 0bf6dfb
Showing
2 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters