Submitted by novamanbg, also found by novamanbg and 0x40saoirse
An infinite loop will block the withdraw process.
In the MultiFeeDistribution.sol the withdraw function will start going through users locked amounts if they do not have enough unlocked to cover their withdraw request:
However, as you can see it will stay at 0 and the following check will execute:
This continues and will start a new iteration of the loop; however, it will still be 0 and this loop will never end. As a result, claiming from locked amounts with penalty will not be possible.
Rewrite the code the following way:
Loop
amarcu (LoopFi) confirmed
