Lack of Normalized Debt Check Before Division
The function _update
directly calls ILendingPool(\_reservePool).getNormalizedDebt()
and uses it for division. If getNormalizedDebt()
returns 0, this will cause a division by zero error, leading to a transaction revert.
Unexpected reverts during minting or burning operations.
Potential denial of service if the lending pool's normalized debt is temporarily 0.
Manual code review
Before performing the division, ensure that normalizedDebt
is greater than 0:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.