Pergunta de entrevista da empresa Electronic Arts

Found the vulnerability/weakness of that snipnet of code.