Any gangmember can kick out any other gang member from the gang by specifying that other gangmember's address as an input parameter to Laundrette::quitTheGang
.
Laundrette::quitTheGang
is supposed to allow:
gangmembers to quit the gang, and
the godfather to kick out any gangmember if he sees fit.
However, an incorrect implementation allows not only the godfather but any gangmember to kick out any other gangmembers from the gang.
This is demonstrated by the following test:
Any gangmember can kick out any other gangmember (including the godfather) from the gang.
Manual review, Foundry.
To ensure that only the godfather can kick gang members out and that gangmembers can quit themselves, modify Laundrette
as follows:
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.