Skip to content

Commit 4acb9da

Browse files
asgerfesbena
andauthored
Update javascript/ql/src/semmle/javascript/frameworks/LazyCache.qll
Co-Authored-By: Esben Sparre Andreasen <[email protected]>
1 parent 171b131 commit 4acb9da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

javascript/ql/src/semmle/javascript/frameworks/LazyCache.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ module LazyCache {
6262
result = this.flow()
6363
or
6464
exists(LazyCacheVariable variable, Expr base, PropAccess access, string localName |
65+
// To avoid recursion, this should not depend on `SourceNode`.
6566
variable = getVariable() and
6667
base = variable.getAnAccess() and
6768
access.getBase() = base and

0 commit comments

Comments
 (0)