mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Update javascript/ql/src/semmle/javascript/frameworks/LazyCache.qll
Co-Authored-By: Esben Sparre Andreasen <esbena@github.com>
This commit is contained in:
@@ -62,6 +62,7 @@ module LazyCache {
|
||||
result = this.flow()
|
||||
or
|
||||
exists(LazyCacheVariable variable, Expr base, PropAccess access, string localName |
|
||||
// To avoid recursion, this should not depend on `SourceNode`.
|
||||
variable = getVariable() and
|
||||
base = variable.getAnAccess() and
|
||||
access.getBase() = base and
|
||||
|
||||
Reference in New Issue
Block a user