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