The giveReview function in LevelOne.sol has an incorrect review count limit check that allows students to receive more reviews than intended.
Current check:
This allows a student to receive a 5th review when they already have 4
The check should be reviewCount[_student] < 4 to limit to exactly 4 reviews
Medium: This vulnerability:
Allows students to receive more reviews than intended
Breaks the intended review limit system
Could lead to unfair student evaluations
Manual code review
Fix the review count 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.