Skip to content

Commit 2c5996f

Browse files
RasmusWLtausbn
andauthored
Python: Refactor subprocess_attr type-tracker
Co-authored-by: Taus <tausbn@github.com>
1 parent 76c9b8c commit 2c5996f

File tree

1 file changed

+1
-1
lines changed
  • python/ql/src/experimental/semmle/python/frameworks

1 file changed

+1
-1
lines changed

python/ql/src/experimental/semmle/python/frameworks/Stdlib.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ private module Stdlib {
211211
result = DataFlow::importNode("subprocess." + attr_name)
212212
or
213213
t.startInAttr(attr_name) and
214-
result = DataFlow::importNode("subprocess")
214+
result = subprocess()
215215
)
216216
or
217217
// Due to bad performance when using normal setup with `subprocess_attr(t2, attr_name).track(t2, t)`

0 commit comments

Comments
 (0)