mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Fix false positive and add test.
This commit is contained in:
@@ -27,6 +27,7 @@ CallNode unsafe_call(string method_name) {
|
||||
or
|
||||
result = ssl_Context_class().getACall() and
|
||||
not exists(result.getArgByName("protocol")) and
|
||||
not exists(result.getArg(0)) and
|
||||
method_name = "ssl.SSLContext"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user