public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: Fixed null pointer problem in rpmfcELF() DT_GNU_HASH handling.
@ 2026-11-23  9:23 David Cantrell
  0 siblings, 0 replies; only message in thread
From: David Cantrell @ 2026-11-23  9:23 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : f713820f4243593e47d8c7d08129df4d3059596f
Author : David Cantrell <dcantrel@fedoraproject.org>
Date   : 2006-07-14T21:04:56+00:00
Stats  : +9/-4 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/f713820f4243593e47d8c7d08129df4d3059596f?branch=pmatilai-v6

Log:
Fixed null pointer problem in rpmfcELF() DT_GNU_HASH handling.

---
diff --git a/rpm-4.4.2-gnuhash.patch b/rpm-4.4.2-gnuhash.patch
index d4aa8af..395ea37 100644
--- a/rpm-4.4.2-gnuhash.patch
+++ b/rpm-4.4.2-gnuhash.patch
@@ -1,5 +1,5 @@
---- rpm-4.4.2/build/rpmfc.c.gnuhash	2006-07-11 07:32:22.000000000 -0400
-+++ rpm-4.4.2/build/rpmfc.c	2006-07-11 07:53:46.000000000 -0400
+--- rpm-4.4.2/build/rpmfc.c.gnuhash	2006-07-14 16:59:43.000000000 -0400
++++ rpm-4.4.2/build/rpmfc.c	2006-07-14 17:01:40.000000000 -0400
 @@ -12,6 +12,11 @@
  
  #if HAVE_GELF_H
@@ -34,7 +34,7 @@
                      case DT_DEBUG:    
  			gotDEBUG = 1;
  			/*@innercontinue@*/ continue;
-@@ -1107,6 +1120,16 @@
+@@ -1107,6 +1120,18 @@
      }
      /*@=branchstate =uniondef @*/
  
@@ -44,6 +44,8 @@
 +        ds = rpmdsSingle(RPMTAG_REQUIRENAME, "rtld(GNU_HASH)", "", 
 +                         RPMSENSE_FIND_REQUIRES);
 +        rpmdsMerge(&fc->requires, ds);
++        buf[0] = '\0';
++        t = buf;
 +        rpmfcSaveArg(&fc->ddict, rpmfcFileDep(t, fc->ix, ds));
 +        ds = rpmdsFree(ds);
 +    }

diff --git a/rpm.spec b/rpm.spec
index 8b3aac5..f9ee3ba 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -20,7 +20,7 @@ Name: rpm
 %define version 4.4.2
 Version: %{version}
 %{expand: %%define rpm_version %{version}}
-Release: 28
+Release: 29
 Group: System Environment/Base
 Source: ftp://wraptastic.org/pub/rpm-4.4.x/rpm-%{rpm_version}.tar.gz
 Source1: mono-find-provides
@@ -595,6 +595,9 @@ exit 0
 %{__includedir}/popt.h
 
 %changelog
+* Fri Jul 14 2006 David Cantrell <dcantrell@redhat.com> - 4.4.2-29
+- Fixed null pointer problem in rpmfcELF() DT_GNU_HASH handling
+
 * Tue Jul 11 2006 Paul Nasrat <pnasrat@redhat.com> - 4.4.2-28
 - Detect and provide a requirement for DT_GNU_HASH 
 

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

only message in thread, other threads:[~2026-11-23  9:23 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:23 [rpms/rpm] pmatilai-v6: Fixed null pointer problem in rpmfcELF() DT_GNU_HASH handling David Cantrell

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