Submitted by IllIllI, also found by leastwood and StErMi
Yields will not be able to be distributed to lenders because attempts to do so will revert.
The processYield() function loops overall of the extra rewards and transfers them
ConvexCurveLPVault.sol#L105-L110
There is no guarantee that the tokens involved will be efficient in their use of gas, and there are no upper bounds on the number of extra rewards:
BaseRewardPool.sol#L105-L115
Even if not every extra reward token has a balance, an attacker can sprinkle each one with dust, forcing a transfer by this function
_getAssetYields() has a similar issue:
YieldManager.sol#L129-L136
Include an offset and length as is done in YieldManager.distributeYield().
sforman2000 (Sturdy) confirmed
atozICT20 (Sturdy) commented:
hickuphh3 (judge) commented:
