The code uses an operator for comparison when the intention was to perform an assignment.
Many IDEs and static analysis products will detect this problem.
Our security experts can help you identify and remediate CWE-482 vulnerabilities in your codebase.
Get Security Assessment