mirror of
https://github.com/github/codeql.git
synced 2026-06-07 22:31:39 +02:00
Add a ContentSet for any tuple or dictionary element
This commit is contained in:
@@ -61,9 +61,7 @@ module EscapingCaptureFlowConfig implements DataFlow::ConfigSig {
|
||||
predicate allowImplicitRead(DataFlow::Node node, DataFlow::ContentSet cs) {
|
||||
isSink(node) and
|
||||
(
|
||||
cs.isAnyTupleElement()
|
||||
or
|
||||
cs.isAnyDictionaryElement()
|
||||
cs.isAnyTupleOrDictionaryElement()
|
||||
or
|
||||
cs.getAStoreContent() instanceof DataFlow::ListElementContent
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user