Cast to uint192 is unsafe #271
Labels
2 (Med Risk)
Assets not at direct risk, but function/availability of the protocol could be impacted or leak value
bug
Something isn't working
duplicate
This issue or pull request already exists
Judge @GalloDaSballo has assessed the 3rd item in QA Report #197 as Medium risk. The relevant finding follows:
…
Cast to uint192 is unsafe, user trying to deposit more than 2^192 would recevie less deposits balance.
https://github.com/code-423n4/2022-02-concur/blob/72b5216bfeaa7c52983060ebfc56e72e0aa8e3b0/contracts/ConvexStakingWrapper.sol#L235
The text was updated successfully, but these errors were encountered: