There is a second incorrect use of a function selector which overwrites the free memory pointer.
Wrong use of function selector at line 53 which overwrites the free memory pointer
Functions start write the slot returned by mload(0x40) and overwrite your data. Therefore, overriding the free memory pointer could cause to overwrite some data and an increase in gas spent due to increase of memory allocation.
Manual review
Remove the line 53 from the code.
In this case, there is no need to store anything in memory. Then the revert has to be changed from revert (0x1c, 0x04)
to a call revert(0,0)
.
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.