Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ed4808 commit 2d38993Copy full SHA for 2d38993
1 file changed
python/ql/src/experimental/Security/CWE-022bis/UnsafeUnpack.ql
@@ -69,7 +69,7 @@ class UnsafeUnpackingConfig extends TaintTracking::Configuration {
69
// Writing the response data to the archive
70
exists(Stdlib::FileLikeObject::InstanceSource is, Node f, MethodCallNode mc |
71
is.flowsTo(f) and
72
- mc.calls(f, "write")
+ mc.calls(f, "write") and
73
nodeFrom = mc.getArg(0) and
74
nodeTo = is.(CallCfgNode).getArg(0)
75
)
0 commit comments