public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jeremy Katz <katzj@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: - add patch to fix segfault with non-merged hdlists
Date: Mon, 23 Nov 2026 09:22:54 GMT	[thread overview]
Message-ID: <179542577433.1.927351387123485875.rpms-rpm-ca3040616f68@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-11-23  9:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179542577433.1.927351387123485875.rpms-rpm-ca3040616f68@fedoraproject.org \
    --to=katzj@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox