public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: David Cantrell <dcantrel@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: Fixed null pointer problem in rpmfcELF() DT_GNU_HASH handling.
Date: Mon, 23 Nov 2026 09:23:47 GMT	[thread overview]
Message-ID: <179542582765.1.3006899696488191272.rpms-rpm-f713820f4243@fedoraproject.org> (raw)

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 
 

                 reply	other threads:[~2026-11-23  9:23 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=179542582765.1.3006899696488191272.rpms-rpm-f713820f4243@fedoraproject.org \
    --to=dcantrel@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