Status DataClose notification

Kinetic Disclosed Report

Audit Report

`Comptroller` expecting `getUnderlyingPrice` to return `0` for errors

Target

https://github.com/kinetic-market/public-money-market-contracts

Vulnerability details

Compound style protocols excepts 0 when there is any revert in the transaction. The implementation of getUnderlyingPrice will throw errors, resulting in consumer of the oracle getting unexpected errors.

Validation steps

Consider using try/catch and return 0 when reverts.

Comments are hidden

This information is not publicly available.