mirror of
https://github.com/github/codeql.git
synced 2026-07-03 10:35:29 +02:00
Fix cleartext logging test
This commit is contained in:
@@ -98,6 +98,3 @@ nodes
|
||||
| test.py:103:21:103:37 | ControlFlowNode for Attribute | semmle.label | ControlFlowNode for Attribute |
|
||||
| test.py:105:11:105:31 | ControlFlowNode for Subscript | semmle.label | ControlFlowNode for Subscript |
|
||||
subpaths
|
||||
testFailures
|
||||
| test.py:103:21:103:37 | ControlFlowNode for Attribute | Unexpected result: Source |
|
||||
| test.py:105:11:105:31 | ControlFlowNode for Subscript | Unexpected result: Alert |
|
||||
|
||||
@@ -100,9 +100,9 @@ def FPs(account, account_id):
|
||||
import settings
|
||||
config = {
|
||||
"sleep_timer": 5,
|
||||
"password": settings.password
|
||||
"password": settings.password # $ SPURIOUS: Source
|
||||
}
|
||||
print(config["sleep_timer"]) # OK
|
||||
print(config["sleep_timer"]) # $ SPURIOUS: Alert # OK
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user