We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Ssl.qll
1 parent 82fab3b commit e90ec80Copy full SHA for e90ec80
python/ql/src/Security/CWE-327/Ssl.qll
@@ -39,11 +39,11 @@ API::Node sslContextInstance() {
39
result = API::moduleImport("ssl").getMember(["SSLContext", "create_default_context"]).getReturn()
40
}
41
42
-class WrapSocketCall extends ConnectionCreation, DataFlow::CallCfgNode {
+class WrapSocketCall extends ConnectionCreation, DataFlow::MethodCallNode {
43
WrapSocketCall() { this = sslContextInstance().getMember("wrap_socket").getACall() }
44
45
override DataFlow::Node getContext() {
46
- result = this.getFunction().(DataFlow::AttrRead).getObject()
+ result = this.getReceiver()
47
48
49
0 commit comments