summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/rpmal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmal.c b/lib/rpmal.c
index 2527bcbec..db85c2139 100644
--- a/lib/rpmal.c
+++ b/lib/rpmal.c
@@ -744,7 +744,7 @@ rpmalAllFileSatisfiesDepend(const rpmal al, const rpmds ds, alKey * keyp)
/*@-branchstate@*/ /* FIX: ret is a problem */
for (found = 0, ret = NULL;
- die <= al->dirs + al->numDirs && dieCompare(die, dieNeedle) == 0;
+ die < al->dirs + al->numDirs && dieCompare(die, dieNeedle) == 0;
die++)
{