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