public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: - add patch to fix segfault with non-merged hdlists
@ 2026-11-23  9:22 Jeremy Katz
  0 siblings, 0 replies; only message in thread
From: Jeremy Katz @ 2026-11-23  9:22 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : ca3040616f683afd8ef9eb6db1ebb74245ac18a4
Author : Jeremy Katz <katzj@fedoraproject.org>
Date   : 2005-04-27T04:09:45+00:00
Stats  : +17/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/ca3040616f683afd8ef9eb6db1ebb74245ac18a4?branch=pmatilai-v6

Log:
- add patch to fix segfault with non-merged hdlists

---
diff --git a/rpm-4.4.1-nonmerged.patch b/rpm-4.4.1-nonmerged.patch
new file mode 100644
index 0000000..4c949ef
--- /dev/null
+++ b/rpm-4.4.1-nonmerged.patch
@@ -0,0 +1,11 @@
+--- 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++)
+     {
+ 

diff --git a/rpm.spec b/rpm.spec
index da89426..dc6ecd3 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -20,7 +20,7 @@ Name: rpm
 %define version 4.4.1
 Version: %{version}
 %{expand: %%define rpm_version %{version}}
-Release: 9
+Release: 10
 Group: System Environment/Base
 Source: ftp://jbj.org/pub/rpm-devel/rpm-%{rpm_version}.tar.gz
 Patch0: rpm-4.4.1-posttrans.patch
@@ -29,6 +29,7 @@ Patch2: rpm-4.4.1-hkp-disable.patch
 Patch3: rpm-4.4.1-read-macro.patch
 Patch4: rpm-4.4.1-fileconflicts.patch 
 Patch5: rpm-4.4.1-prereq.patch
+Patch6: rpm-4.4.1-nonmerged.patch
 License: GPL
 Conflicts: patch < 2.5
 %ifos linux
@@ -143,6 +144,7 @@ shell-like rules.
 %patch3 -p1 
 %patch4 -p1  -b .fileconflicts
 %patch5 -p1  -b .prereq
+%patch6 -p1
 
 %build
 
@@ -513,6 +515,9 @@ exit 0
 %{__includedir}/popt.h
 
 %changelog
+* Wed Apr 27 2005 Jeremy Katz <katzj@redhat.com> - 4.4.1-10
+- add patch to fix segfault with non-merged hdlists
+
 * Thu Mar 31 2005 Thomas Woerner <twoerner@redhat.com> 4.4.1-9
 - enabled prereqs again
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-23  9:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23  9:22 [rpms/rpm] pmatilai-v6: - add patch to fix segfault with non-merged hdlists Jeremy Katz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox