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.
1 parent b2acfbc commit 2c74ddbCopy full SHA for 2c74ddb
python/ql/src/Resources/FileNotAlwaysClosedQuery.qll
@@ -36,6 +36,9 @@ class FileWrapperCall extends DataFlow::CallCfgNode {
36
or
37
wrapped = this.getArg(0) and
38
this = API::moduleImport("os").getMember("fdopen").getACall()
39
+ or
40
+ wrapped = this.getArg(0) and
41
+ this = API::moduleImport("django").getMember("http").getMember("FileResponse").getACall()
42
}
43
44
/** Gets the file that this call wraps. */
0 commit comments