The giveReview function in LevelOne.sol fails to increment the reviewCount mapping for students, despite checking against it, leading to potential review count tracking issues.
reviewCount mapping is declared but never incremented
Students can receive unlimited reviews despite the 5-review limit
Review tracking system is effectively broken
High: This vulnerability:
Breaks the intended review limit system
Allows students to receive more than 5 reviews
Makes the review count tracking meaningless
Could lead to unfair student evaluations
Manual code review
Add events to track review count changes
All students are graduated when the graduation function is called as the cut-off criteria is not applied.
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.