Unchecked_Input_for_Loop_Condition issue exists @ projects/RockPaperScissors_Game/Rock_Paper_Scissors_Game.py in branch master
Method int at line 11 of projects\RockPaperScissors_Game\Rock_Paper_Scissors_Game.py gets user input from element input . This element’s value flows through the code without being validated, and is eventually used in a loop condition in while at line 13 of projects\RockPaperScissors_Game\Rock_Paper_Scissors_Game.py. This constitutes an Unchecked Input for Loop Condition.Similarity ID: 216258543
Unchecked_Input_for_Loop_Condition issue exists @ projects/RockPaperScissors_Game/Rock_Paper_Scissors_Game.py in branch master
Method int at line 11 of projects\RockPaperScissors_Game\Rock_Paper_Scissors_Game.py gets user input from element input . This element’s value flows through the code without being validated, and is eventually used in a loop condition in while at line 13 of projects\RockPaperScissors_Game\Rock_Paper_Scissors_Game.py. This constitutes an Unchecked Input for Loop Condition.Similarity ID: 216258543
Severity: Medium
CWE:606
Vulnerability details and guidance
Internal Guidance
Checkmarx
Training Recommended Fix
Lines: 11
Code (Line #11):