Ruby: handle knownOrUnkown in default taint step

This commit is contained in:
Asger F
2022-11-08 16:02:19 +01:00
parent 2bef82babc
commit a60f510c85

View File

@@ -105,6 +105,8 @@ private module Cached {
exists(DataFlow::ContentSet c | readStep(nodeFrom, c, nodeTo) |
c.isSingleton(any(DataFlow::Content::ElementContent ec))
or
c.isKnownOrUnknownElement(any(DataFlow::Content::ElementContent ec))
or
c.isAnyElement()
)
}