Skip to content

Commit 20efe81

Browse files
hvitvedasgerf
andauthored
Update ruby/ql/lib/codeql/ruby/typetracking/TypeTrackerSpecific.qll
Co-authored-by: Asger F <[email protected]>
1 parent 33be52f commit 20efe81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby/ql/lib/codeql/ruby/typetracking/TypeTrackerSpecific.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ private DataFlow::Node evaluateSummaryComponentStackLocal(
615615
head = SummaryComponent::return() and
616616
ret.getCfgScope() = prev.asExpr().getExpr() and
617617
// We need to include both `ret` and `ret.getAnInput()`, since in type-tracking
618-
// the step from `ret.getAnInput()` to `ret` is considered a call step.
618+
// the step from `ret.getAnInput()` to `ret` is considered a return step.
619619
result = [ret.(DataFlow::Node), ret.getAnInput()]
620620
)
621621
or

0 commit comments

Comments
 (0)