mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Update python/ql/src/experimental/Security/UnsafeUnpackQuery.qll
Co-authored-by: yoff <lerchedahl@gmail.com>
This commit is contained in:
@@ -103,7 +103,7 @@ class UnsafeUnpackingConfig extends TaintTracking::Configuration {
|
||||
// For a call to `file.extractall` without `members` argument, `file` is considered a sink.
|
||||
exists(MethodCallNode call, AllTarfileOpens atfo |
|
||||
call = atfo.getReturn().getMember("extractall").getACall() and
|
||||
not exists(Node arg | arg = call.getArgByName("members")) and
|
||||
not exists(call.getArgByName("members")) and
|
||||
sink = call.getObject()
|
||||
)
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user