code-423n4 / 2024-03-saltyio-mitigation-findings

0 stars 0 forks source link

H-04 MitigationConfirmed #64

Open c4-bot-7 opened 8 months ago

c4-bot-7 commented 8 months ago

Lines of code

Vulnerability details

Comments

virtualRewardsToAdd could exceed the max value of uint128 by manipulating totalRewards[poolID] together with existingTotalShares. This might break the whole protocol:

Conclusion

Confirmed

c4-judge commented 8 months ago

Picodes marked the issue as satisfactory