A malicious user can create a very large number of positions with very small values and as a result increase the number of array members and easily make this function and other related functions suffer a gas deficiency attack. This issue is valid for second function too. And even can cause adding new member need high gas.
set a lower limit for creating position.
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.