Zaros Part 1

DeFiFoundry
60,000 USDC
Submission Details
Severity: low
Invalid

Missing Position Existence Check in `getAccountMarginBreakdown` Function

Updates

Lead Judging Commences

InAllHonesty Lead Judge 30 days ago
Submission Judgement Published
Invalidated
Reason: Too generic
Assigned finding tags:

Missing Position Existence Check in `getAccountMarginBreakdown` Function

If a position has been closed or liquidated, it may still be present in the `activeMarketsIds` set, but the corresponding `Position.Data` struct may have been cleared or deleted.

Support

FAQs

Can’t find an answer? Join our Discord or follow us on Twitter.