Unchecked_Input_for_Loop_Condition issue exists @ projects/Terminal_Based_Hangman_Game/hangman.py in branch master
Method main at line 177 of projects\Terminal_Based_Hangman_Game\hangman.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 main at line 177 of projects\Terminal_Based_Hangman_Game\hangman.py. This constitutes an Unchecked Input for Loop Condition.Similarity ID: 1161607269
Unchecked_Input_for_Loop_Condition issue exists @ projects/Terminal_Based_Hangman_Game/hangman.py in branch master
Method main at line 177 of projects\Terminal_Based_Hangman_Game\hangman.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 main at line 177 of projects\Terminal_Based_Hangman_Game\hangman.py. This constitutes an Unchecked Input for Loop Condition.Similarity ID: 1161607269
Severity: Medium
CWE:606
Vulnerability details and guidance
Internal Guidance
Checkmarx
Training Recommended Fix
Lines: 177
Code (Line #177):