Skip to content

Commit bde7253

Browse files
committed
JS: Add a missing class to needsDefNode
1 parent dc69986 commit bde7253

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
@@ -1534,6 +1534,7 @@ module API {
15341534
succ = MkDef(rhs)
15351535
or
15361536
exists(DataFlow::ClassNode cls |
1537+
needsDefNode(cls) and
15371538
cls.getAnInstanceReference().flowsTo(rhs) and
15381539
succ = MkClassInstance(cls)
15391540
)

0 commit comments

Comments
 (0)