mediumInteger overflow/underflowEVM-Solidity
Olas: Incorrect handling of last nominee removal in `removeNominee` function
- Payout
- $0
- Protocol
- Olas
- Disclosed
- Aug 6, 2024
- Source
- code4rena
The `removeNominee` function in the Olas `VoteWeighting.sol` contract fails to properly handle the removal of a nominee when that nominee is the last item in the internal `setNominees` array. Due to an unconditional swap operation, the contract incorrectly re- …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2024-05-olas-findings/issues/16
- https://github.com/code-423n4/2024-05-olas-findings
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.