Skip to content

Commit d35ea7f

Browse files
committed
always get a good join-order in getAnAliasedSourceNode
1 parent 2b54c33 commit d35ea7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/src/semmle/javascript/GlobalAccessPaths.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ module AccessPath {
415415
pragma[inline]
416416
DataFlow::SourceNode getAnAliasedSourceNode(DataFlow::Node node) {
417417
exists(DataFlow::SourceNode root, string accessPath |
418-
node = AccessPath::getAReferenceTo(root, accessPath) and
418+
node = pragma[only_bind_into](AccessPath::getAReferenceTo(root, accessPath)) and
419419
result = AccessPath::getAReferenceTo(root, accessPath)
420420
)
421421
or

0 commit comments

Comments
 (0)