Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2d38993

Browse files
committed
Add a missing "and"
1 parent 0ed4808 commit 2d38993

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/ql/src/experimental/Security/CWE-022bis/UnsafeUnpack.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class UnsafeUnpackingConfig extends TaintTracking::Configuration {
6969
// Writing the response data to the archive
7070
exists(Stdlib::FileLikeObject::InstanceSource is, Node f, MethodCallNode mc |
7171
is.flowsTo(f) and
72-
mc.calls(f, "write")
72+
mc.calls(f, "write") and
7373
nodeFrom = mc.getArg(0) and
7474
nodeTo = is.(CallCfgNode).getArg(0)
7575
)

0 commit comments

Comments
 (0)