QA Report #93
Labels
bug
Something isn't working
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
Default proof is returned when input is empty
Contract:
DNSSECImpl.sol
Description:
Recommendation:
Add below check
2 step owner change
Contract:
Owned.sol
Description:
The setOwner function directly sets the new owner value passed without checking for 0 address or performing a 2 step change
Recommendation:
Add a zero address change.
Also add 2 step change for Admin which includes pendingAdmin inclusion
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: