All reports
mediumLogic errorEVM-Solidity

INIT Capital: `fillOrder` not properly cancel order when collateral of position is empty

Payout
$0
Protocol
INIT Capital
Disclosed
Feb 22, 2024
Source
code4rena

INIT Capital's MarginTradingHook.fillOrder contains a memory-versus-storage write bug in its empty-position cancellation branch. When the collateral amount of the order's position is zero, the function intends to cancel the order, but it mutates the status fie …

Similar reports

  • No close matches yet.

References

This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.