forked from tari-project/tari
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: potential u64 overflow panic (tari-project#5688)
Description --- fork_hash_index comes from remote peer, if the remote peer sets this to u64::Max, the local node will panic. This data is sanity checked later on, but here a panic is possible
- Loading branch information
1 parent
304e40f
commit f261b79
Showing
1 changed file
with
18 additions
and
22 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