The buyOrder()
function doesn't have any mechanism to prevent a Dos attack and doesn't follow the Check-effects-interactions pattern
No bounds check on orderIndex
No validation if seller has any orders
Could lead to out-of-bounds access or returning empty/invalid data
Potential array out-of-bounds access leading to DoS or contract revert
Manual review
add a check
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.