-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
1 (Low Risk)bugSomething isn't workingSomething isn't workingdisagree with severityduplicateThis issue or pull request already existsThis issue or pull request already existssponsor acknowledged
Description
Handle
0xRajeev
Vulnerability details
Impact
The code comment says: “// The exponent has to be less than 5 in these versions of the contracts.” but the code immediately after the comment implements a check “< 6.” It is unclear if the comment is incorrect or the check is wrong. An incorrect check may have mathematical implications.
Proof of Concept
Tools Used
Manual Analysis
Recommended Mitigation Steps
Revisit comment and code to sync them by fixing the comment or the code whichever is incorrect.
Metadata
Metadata
Assignees
Labels
1 (Low Risk)bugSomething isn't workingSomething isn't workingdisagree with severityduplicateThis issue or pull request already existsThis issue or pull request already existssponsor acknowledged