In the following code, which is the location of vulnerability?
1 bIsAdmin = true; 2 try 3 { 4 function (); 5 bIsAdmin = isAdminUser(userName); 6 } 7 catch (Exception ex) 8 { 9 log.write(ex.toString()); 10 }
Line 9
Line 5
Line 7
Line 1