A lack of update in the reviewCount mapping leads to review count not being incremented.
A reviewCount mapping keeps tracks of how many review have been give and should be updated in the LevelOne.sol::giveReview function, however it is not.
It renders the following check require(reviewCount[_student] < 5, "Student review count exceeded!!!"); useless as reviewCount[_student] will always be zero
POC:
Also add the following getter on LevelOne.sol
Manual Review Foundry
Increase review count like this reviewCount[_student]++; after giving the student a review, I will give the proper formatting in the report for another vuln within the same function
`reviewCount` for students is not updated after each review session
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.