Summary:
The loop in InheritanceManager::buyOutEstateNFT incorrectly exits (truncates execution) when the caller is found before reaching the last index, preventing the full execution of intended logic.
Vulnerability Details:
The early return within the loop causes incomplete processing if the caller is not the last element in the beneficiaries array.
Impact:
Medium – Leads to incomplete execution, affecting asset buyout logic.
Tools Used:
slither, aderyn, foundry
Recommendations:
Replace the return statement with continue so that the loop can iterate over all beneficiaries.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.