-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
proof: fix panic for keys with all 0xff bytes (#288)
Fixes #286. The `cpIncr()` function incorrectly incremented all bytes for values that are all `0xff` before appending `0x00`. In these cases it should keep the original value and append `0x00`.
- Loading branch information
1 parent
b0666d6
commit 5fab77f
Showing
2 changed files
with
7 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