Skip to content

Commit f4b2af7

Browse files
asgerfhvitved
andauthored
Update ruby/ql/lib/codeql/ruby/dataflow/internal/TaintTrackingPrivate.qll
Co-authored-by: Tom Hvitved <[email protected]>
1 parent 43769ad commit f4b2af7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby/ql/lib/codeql/ruby/dataflow/internal/TaintTrackingPrivate.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ private module Cached {
105105
exists(DataFlow::ContentSet c | readStep(nodeFrom, c, nodeTo) |
106106
c.isSingleton(any(DataFlow::Content::ElementContent ec))
107107
or
108-
c.isKnownOrUnknownElement(any(DataFlow::Content::ElementContent ec))
108+
c.isKnownOrUnknownElement(_)
109109
or
110110
c.isAnyElement()
111111
)

0 commit comments

Comments
 (0)