Upgraded Q -> M from 93 [1659526885300] #319
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
upgraded by judge
Original issue severity upgraded from QA/Gas by judge
Judge has assessed an item in Issue #93 as Medium risk. The relevant finding follows:
Use call instead of transfer
Contract
ETHRegistrarController.sol
Description
It was observed that withdraw function is using transfer function instead of call for transferring ether. This could become a problem if owner is contract and require more than 2300 gas (in which case transfer reverts)
Recommendation
Use call which does not have 2300 gas limitation
The text was updated successfully, but these errors were encountered: