mirror of
https://github.com/github/codeql.git
synced 2026-05-09 07:31:37 +02:00
support non SourceNode receiver for partialInvoke in routeHandlerStep
This commit is contained in:
@@ -275,7 +275,9 @@ module HTTP {
|
||||
exists(HTTP::RouteHandlerCandidateContainer container | pred = container.getRouteHandler(succ))
|
||||
or
|
||||
// (function (req, res) {}).bind(this);
|
||||
exists(DataFlow::PartialInvokeNode call | succ = call.getBoundFunction(pred, 0))
|
||||
exists(DataFlow::PartialInvokeNode call |
|
||||
succ = call.getBoundFunction(any(DataFlow::Node n | pred.flowsTo(n)), 0)
|
||||
)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user