Closed c4-bot-6 closed 8 months ago
https://github.com/code-423n4/2023-12-revolutionprotocol/blob/main/packages/revolution/src/NontransferableERC20Votes.sol#L134
Unchecked math could potentially trigger overflows.
Recommendation: Utilize SafeMath library for overflow safe operations.
using SafeMath for uint256; function mint(address account, uint256 amount) public onlyOwner { // Overflow protected totalSupply = totalSupply.add(amount); // Internal logic }
Under/Overflow
raymondfam marked the issue as insufficient quality report
raymondfam marked the issue as duplicate of #686
MarioPoneder marked the issue as unsatisfactory: Insufficient quality
Lines of code
https://github.com/code-423n4/2023-12-revolutionprotocol/blob/main/packages/revolution/src/NontransferableERC20Votes.sol#L134
Vulnerability details
Unchecked math could potentially trigger overflows.
Recommendation: Utilize SafeMath library for overflow safe operations.
Assessed type
Under/Overflow