mirror of
https://github.com/github/codeql.git
synced 2026-05-03 12:45:27 +02:00
use NodeJSLib::Path instead of DataFlow::moduleMember
This commit is contained in:
@@ -272,7 +272,7 @@ module NodeJSLib {
|
||||
DataFlow::Node tainted;
|
||||
|
||||
PathFlowTarget() {
|
||||
exists(string methodName | this = DataFlow::moduleMember("path", methodName).getACall() |
|
||||
exists(string methodName | this = NodeJSLib::Path::moduleMember(methodName).getACall() |
|
||||
// getters
|
||||
methodName = "basename" and tainted = getArgument(0)
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user