Skip to content

Commit 317c686

Browse files
tausbnRasmusWL
andauthored
Python: Fix sneaky semantic change
Co-authored-by: Rasmus Wriedt Larsen <[email protected]>
1 parent 3aea270 commit 317c686

File tree

1 file changed

+1
-0
lines changed
  • python/ql/src/Security/CWE-327

1 file changed

+1
-0
lines changed

python/ql/src/Security/CWE-327/Ssl.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class SSLContextCreation extends ContextCreation, DataFlow::CallCfgNode {
1919
)
2020
or
2121
not exists(this.getArg(_)) and
22+
not exists(this.getArgByName(_)) and
2223
result = "TLS"
2324
}
2425
}

0 commit comments

Comments
 (0)