Skip to content

Commit d8792f2

Browse files
committed
C#: Fix bug in BaseSSA::reachesEndOf/3
1 parent 6213c20 commit d8792f2

File tree

1 file changed

+1
-1
lines changed
  • csharp/ql/src/semmle/code/csharp/dataflow/internal

1 file changed

+1
-1
lines changed

csharp/ql/src/semmle/code/csharp/dataflow/internal/BaseSSA.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ module BaseSsa {
101101
or
102102
exists(BasicBlock mid |
103103
reachesEndOf(def, v, mid) and
104-
not exists(ssaRefRank(mid, _, v, SsaDef())) and
104+
not exists(ssaRefRank(bb, _, v, SsaDef())) and
105105
bb = mid.getASuccessor()
106106
)
107107
}

0 commit comments

Comments
 (0)