We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc2e615 commit 34d6a4dCopy full SHA for 34d6a4d
javascript/ql/src/semmle/javascript/GlobalAccessPaths.qll
@@ -460,7 +460,7 @@ module AccessPath {
460
(path = fromReference(result, root) or result = root.getAPropertyRead(path)) and
461
type = AccessPathRead()
462
or
463
- (path = fromRhs(result, root) or result = root.getAPropertyWrite(path)) and
+ (path = fromRhs(result, root) or result = root.getAPropertyWrite(path).getRhs()) and
464
type = AccessPathWrite()
465
}
466
0 commit comments