Factory.proposeBasketLicense()
and IFactory.proposeBasketLicense()
accept arguments with different data locations
#43
Labels
1 (Low Risk)
Assets are not at risk. State handling, function incorrect as to spec, issues with comments
bug
Warden finding
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
Handle
pants
Vulnerability details
The function
Factory.proposeBasketLicense()
claims to overrideIFactory.proposeBasketLicense()
, but some of their arguments have different data locations.Impact
Mismatching data locations in overrides have unexpected behavior.
Proof of Concept
ethereum/solidity#10900
Tool Used
Manual code review.
Recommended Mitigation Steps
Modify the data locations of the arguments to match between
Factory.proposeBasketLicense()
andIFactory.proposeBasketLicense()
.The text was updated successfully, but these errors were encountered: