address(0) can be entered into the raffle, and if selected, funds and NFT will be lost.
Because enterRaffle does not check for address(0) being inputted as a player, there can be a scenario where it is selected as the winner and then funds are lost as well as the NFT.
High
Foundry
Check that address(0) is not being sent as parat of the newPlayers array in enterRaffle()
Funds are locked to no one. If someone gets the refund issue, they also got this issue. IMPACT: High Likelihood: High
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.