withdrawFee function line 156 in puppyRaffle.sol
WithdrawFees function checks that the balance == totalFees before proceeding, if the balance is somehow manipulated (e.g someone manages to send excess ether into the contract) the withdrawFee function will stop working.
This would effectively leave all fees locked in the contract forever with no way of claiming them.
Manual inspection
Check that the balance is enough to cover paying the totalFees without using ==, as this checks for strict equality.
Root cause: bad RNG Impact: manipulate winner
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.