Unbounded iteration in NFTXEligiblityManager.distribute
over _feeReceivers
#47
Labels
NFTXEligiblityManager.distribute
over _feeReceivers
#47
Handle
@cmichelio
Vulnerability details
Vulnerability Details
NFTXEligiblityManager.distribute
iterates over all_feeReceivers
.Impact
If the number of
_feeReceivers
gets too big, the transaction's gas cost could exceed the block gas limit and make it impossible to calldistribute
at all.Recommended Mitigation Steps
Keep the number of
_feeReceivers
small.The text was updated successfully, but these errors were encountered: