Skip to content

Commit 19124c9

Browse files
committed
JS: Add a missing class to needsDefNode
1 parent 6d82258 commit 19124c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

javascript/ql/lib/semmle/javascript/ApiGraphs.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1539,6 +1539,7 @@ module API {
15391539
succ = MkDef(rhs)
15401540
or
15411541
exists(DataFlow::ClassNode cls |
1542+
needsDefNode(cls) and
15421543
cls.getAnInstanceReference().flowsTo(rhs) and
15431544
succ = MkClassInstance(cls)
15441545
)

0 commit comments

Comments
 (0)