mirror of
https://github.com/github/codeql.git
synced 2026-05-04 21:25:44 +02:00
JS: implement getADataNode for NodeHttpUrlRequest
This commit is contained in:
@@ -740,7 +740,10 @@ module NodeJSLib {
|
||||
}
|
||||
|
||||
override DataFlow::Node getADataNode() {
|
||||
result = getAMethodCall("write").getArgument(0)
|
||||
exists (string name |
|
||||
name = "write" or name = "end" |
|
||||
result =this.(DataFlow::SourceNode).getAMethodCall(name).getArgument(0)
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user