mirror of
https://github.com/github/codeql.git
synced 2026-05-02 04:05:14 +02:00
Ruby: handle knownOrUnkown in default taint step
This commit is contained in:
@@ -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()
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user