зеркало из https://github.com/github/codeql.git
Update ruby/ql/lib/codeql/ruby/frameworks/rack/internal/App.qll
Co-authored-by: Asger F <asgerf@github.com>
This commit is contained in:
Родитель
b4620042a5
Коммит
af1ca7fec7
|
@ -14,7 +14,7 @@ private class CallMethodNode extends DataFlow::MethodNode {
|
|||
|
||||
private DataFlow::LocalSourceNode trackRackResponse(TypeBackTracker t, CallMethodNode call) {
|
||||
t.start() and
|
||||
result = call.getAReturnNode()
|
||||
result = call.getAReturnNode().getALocalSource()
|
||||
or
|
||||
exists(TypeBackTracker t2 | result = trackRackResponse(t2, call).backtrack(t2, t))
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче