Impact: This may allow unauthorized addresses to bypass the check and execute the function, leading to potential vulnerabilities.
Recommended mitigation : Fix the loop condition to i < beneficiaries.length to prevent out-of-bounds access. modifier onlyBeneficiaryWithIsInherited() { uint256 i = 0; while (i < beneficiaries.length) { if (msg.sender == beneficiaries[i] && isInherited) { break; } i++; } _; }
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.