Platform: Code4rena
Start Date: 15/06/2022
Pot Size: $35,000 USDC
Total HM: 1
Participants: 36
Period: 3 days
Judge: Jack the Pug
Total Solo HM: 1
Id: 137
League: ETH
Rank: 18/36
Findings: 1
Award: $104.60
🌟 Selected for report: 0
🚀 Solo Findings: 0
🌟 Selected for report: 0xNazgul
Also found by: 0xDjango, 0xFar5eer, 0xf15ers, BowTiedWardens, Chom, Dravee, IllIllI, Meera, MiloTruck, PierrickGT, TerrierLover, _Adam, cccz, codexploder, cryptphi, delfin454000, fatherOfBlocks, hansfriese, joestakey, oyc_109, simon135
104.5965 USDC - $104.60
namesLength > 0
check in areOperatorsImported()
methodareOperatorsImported()
in OperatorResolver.sol#L32-L49 returns true
when input arrays are empty (ie. []
, []
).function areOperatorsImported(bytes32[] calldata names, Operator[] calldata destinations) external view override returns (bool) { uint256 namesLength = names.length; require(namesLength == destinations.length, "OR: INPUTS_LENGTH_MUST_MATCH"); for (uint256 i = 0; i < namesLength; i++) { if ( operators[names[i]].implementation != destinations[i].implementation || operators[names[i]].selector != destinations[i].selector ) { return false; } } return true; }
require(namesLength > 0 "empty names/destinations");