mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
Update test to reflect new true positive.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
| test.py:10:1:10:19 | ControlFlowNode for Attribute() | A Flask app appears to be run in debug mode. This may allow an attacker to run arbitrary code through the debugger. |
|
||||
| test.py:25:1:25:20 | ControlFlowNode for Attribute() | A Flask app appears to be run in debug mode. This may allow an attacker to run arbitrary code through the debugger. |
|
||||
| test.py:29:1:29:20 | ControlFlowNode for Attribute() | A Flask app appears to be run in debug mode. This may allow an attacker to run arbitrary code through the debugger. |
|
||||
| test.py:37:1:37:18 | ControlFlowNode for runapp() | A Flask app appears to be run in debug mode. This may allow an attacker to run arbitrary code through the debugger. |
|
||||
|
||||
@@ -31,7 +31,7 @@ app.run(debug=DEBUG)
|
||||
if False:
|
||||
app.run(debug=True)
|
||||
|
||||
# false negative
|
||||
|
||||
|
||||
runapp = app.run
|
||||
runapp(debug=True)
|
||||
|
||||
Reference in New Issue
Block a user