1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-05 20:15:59 +01:00

Fix off by one

This commit is contained in:
Heiko Schaefer 2023-06-28 23:46:35 +02:00 committed by Paul Schaub
parent 77495a172b
commit a4ef1e9b57
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -100,7 +100,7 @@ class Path(
}
var cyclic = root.fingerprint == certification.target.fingerprint
for (i in 0..edges.size) {
for (i in 0 until edges.size) {
val edge = edges[i]
if (cyclic) {
break