highLogic errorEVM-Solidity
Gondi: Incorrect circular array check in `_updatePendingWithdrawalWithQueue` flow, causing received funds to be added to the wrong queues
- Payout
- $0
- Protocol
- Gondi
- Disclosed
- Jul 25, 2024
- Source
- code4rena
Gondi's Pool.sol distributes loan-returned funds from older withdrawal queues to newer queues inside `_updatePendingWithdrawalWithQueue()`. Because the queue array is circular and wraps from the max index back to zero, the inner distribution loop must compare …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2024-04-gondi-findings/issues/47
- https://github.com/code-423n4/2024-04-gondi-findings
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.