When getBestResponse
is called, it updates the responses[taskId]
array for no reason, corrupting the array in the process.
The result
variable is taken as storage
instead of memory, which causes the taskResponses[0] to be updated each time in the loop. This causes data corruption in the responses[taskId]
array.
No impact as such, but could cause frontend issues when collecting data.
Manual Review
Use memory instead of storage.
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.