In PerprtualVualt::deposit the global var PerprtualVualt::counteris increased by 1 without assigning to a local var and this serves as the depositors usersID in depositInfomapping.
In PerprtualVualt::deposit the global var PerprtualVualt::counteris increased by 1 without assigning to a local var and this serves as the depositors usersID in depositInfomapping. Since var is not assigned to a local var, if a large deposit call was made slightly before it and the large deposit has now incremented the global var, the large depositor might not get his due shares.
Depositor might not get due shares.
Manual Review.
Assign PerprtualVualt::counter to a local var in PerprtualVualt::deposit
There is no real proof, concrete root cause, specific impact, or enough details in those submissions. Examples include: "It could happen" without specifying when, "If this impossible case happens," "Unexpected behavior," etc. Make a Proof of Concept (PoC) using external functions and realistic parameters. Do not test only the internal function where you think you found something.
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.