mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
Python: use imprecise content in cp
We had accidentally used precise content leadingto blowup
This commit is contained in:
@@ -195,7 +195,7 @@ predicate yieldStoreStep(Node nodeFrom, Content c, Node nodeTo) {
|
||||
c instanceof SetElementContent
|
||||
or
|
||||
comp instanceof DictComp and
|
||||
c instanceof DictionaryElementContent
|
||||
c instanceof DictionaryElementAnyContent
|
||||
)
|
||||
or
|
||||
not exists(Comp comp | func = comp.getFunction()) and
|
||||
@@ -204,7 +204,7 @@ predicate yieldStoreStep(Node nodeFrom, Content c, Node nodeTo) {
|
||||
or
|
||||
c instanceof SetElementContent
|
||||
or
|
||||
c instanceof DictionaryElementContent
|
||||
c instanceof DictionaryElementAnyContent
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user