mirror of
https://github.com/github/codeql.git
synced 2026-04-29 02:35:15 +02:00
Update javascript/ql/src/semmle/javascript/DOM.qll
Co-Authored-By: asger-semmle <42069257+asger-semmle@users.noreply.github.com>
This commit is contained in:
@@ -284,7 +284,7 @@ module DOM {
|
||||
)
|
||||
}
|
||||
|
||||
/** Gets a data flow node that refer directly to a value from the DOM. */
|
||||
/** Gets a data flow node that refers directly to a value from the DOM. */
|
||||
DataFlow::SourceNode domValueSource() {
|
||||
result.asExpr().(VarAccess).getVariable() instanceof DOMGlobalVariable or
|
||||
result = domValueRef().getAPropertyRead(_) or
|
||||
|
||||
Reference in New Issue
Block a user