Red Hat Bugzilla – Bug 103865
two bugs in rpmal that may lead to segfaults
Last modified: 2007-04-18 12:57:24 EDT
1) the search for the last hit of the match in rpmalAllSatisfiesDepend()
may check one element too much, the "<=" should be "<".
2) rpmalMakeIndex should set ai->size to the actual number of elements, as
some of them may be skipped if the color doesn't match.
Created attachment 94263 [details]
Hmmm, thouhght I just closed this.
1) is definite bug, been fixed several times, will get it right
2) is bug iff _transaction_color !- 0 or 3, noone has tried that
config afaik. Nice catch.
Thanks for patch, added to rpm-4.3.