The code does not sufficiently manage its control flow during execution, creating conditions in which the control flow can be modified in unexpected ways.
Impact: Alter Execution Logic
c
/* access shared resource /
cc
/* access shared resource /
ccphp
//read file into string* $file = file_get_contents($filename); if ($file && isOwnerOf($username,$filename)){ ``` echo $file; return true; } else{ echo 'You are not authorized to view this file'; } return false; }