We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,I found an integer overflow in increaseApproval function.And it doesn't use the safe function to add value. code addresss: https://etherscan.io/address/0x30ceCB5461A449A90081F5a5F55db4e048397BAB vuln code:
function increaseApproval (address _spender, uint _addedValue) returns (bool success) { //allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue); allowed[msg.sender][_spender] += _addedValue; //integer overflow Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; }
Before overflow After add value 0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
Discovered by zhihua.yao@dbappsecurity.com.cn
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,I found an integer overflow in increaseApproval function.And it doesn't use the safe function to add value.
code addresss:
https://etherscan.io/address/0x30ceCB5461A449A90081F5a5F55db4e048397BAB
vuln code:
Before overflow
After add value 0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
Discovered by zhihua.yao@dbappsecurity.com.cn
The text was updated successfully, but these errors were encountered: