Skip to content

Commit d6198fc

Browse files
author
Max Schaefer
committed
JavaScript: Introduce two more short-circuiting conjuncts.
1 parent 9221b62 commit d6198fc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

javascript/ql/src/semmle/javascript/dataflow/Configuration.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -744,6 +744,7 @@ private predicate onPath(DataFlow::Node nd, DataFlow::Configuration cfg,
744744
*/
745745
private newtype TPathNode =
746746
MkPathNode(DataFlow::Node nd, DataFlow::Configuration cfg, PathSummary summary) {
747+
isSource(_, cfg, _) and isSink(_, cfg, _) and
747748
onPath(nd, cfg, summary)
748749
}
749750

0 commit comments

Comments
 (0)