claimExact() Missing Validation As In claim() #194
Labels
0 (Non-critical)
Code style, clarity, syntax, versioning, off-chain monitoring (events etc), exclude gas optimisation
bug
Something isn't working
sponsor acknowledged
Technically the issue is correct, but we're not going to resolve it for XYZ reasons
Handle
Meta0xNull
Vulnerability details
Impact
claim() and claimExact() Both Should Have Same Verification Requirements. But claimExact() Missing Validation Code as claim() in Line 524.
Code: require(validated[msg.sender] == 1, "Address not validated to claim.");
Proof of Concept
https://github.com/code-423n4/2021-11-bootfinance/blob/main/vesting/contracts/AirdropDistribution.sol#L524
Tools Used
Manual Review
Recommended
Insert Missing Validation Code Between Line 552 and 553 for claimExact()
https://github.com/code-423n4/2021-11-bootfinance/blob/main/vesting/contracts/AirdropDistribution.sol#L552-L553
The text was updated successfully, but these errors were encountered: