Blob Blame History Raw
--- rpm-4.4.1/lib/rpmal.c~	2005-04-26 16:29:57.000000000 -0400
+++ rpm-4.4.1/lib/rpmal.c	2005-04-27 00:01:59.000000000 -0400
@@ -744,7 +744,7 @@
 
     /*@-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++)
     {