public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mark Wielaard <mjw@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: Fix edit_attributes_str_comp_dir in Patch916 (#1919107)
Date: Mon, 23 Nov 2026 09:33:44 GMT	[thread overview]
Message-ID: <179542642444.1.4375913812729588544.rpms-rpm-d5b8c7b4cb60@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : d5b8c7b4cb601c430a7604b2c4b2da6309f4e522
Author : Mark Wielaard <mjw@fedoraproject.org>
Date   : 2021-01-22T11:20:35+01:00
Stats  : +6/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/d5b8c7b4cb601c430a7604b2c4b2da6309f4e522?branch=pmatilai-v6

Log:
Fix edit_attributes_str_comp_dir in Patch916 (#1919107)

---
diff --git a/0006-debugedit-Handle-DWARF-5-debug_line-and-debug_line_s.patch b/0006-debugedit-Handle-DWARF-5-debug_line-and-debug_line_s.patch
index f85ff17..1f1a966 100644
--- a/0006-debugedit-Handle-DWARF-5-debug_line-and-debug_line_s.patch
+++ b/0006-debugedit-Handle-DWARF-5-debug_line-and-debug_line_s.patch
@@ -484,7 +484,7 @@ index be5fee85b..d6a0058e9 100644
 -      dir = (char *) debug_sections[DEBUG_STR].data + idx;
 +      debug_section *sec = &debug_sections[line_strp
 +					   ? DEBUG_LINE_STR : DEBUG_STR];
-+      if (sec->data == NULL || idx >= debug_sections[DEBUG_STR].size)
++      if (sec->data == NULL || idx >= sec->size)
 +	error (1, 0, "%s: Bad string pointer index %zd for comp_dir (%s)",
 +	       dso->filename, idx, sec->name);
 +      dir = (char *) sec->data + idx;

diff --git a/rpm.spec b/rpm.spec
index 6dc0d70..60bd258 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -32,7 +32,7 @@
 
 %global rpmver 4.16.1.2
 #global snapver rc1
-%global rel 3
+%global rel 4
 %global sover 9
 
 %global srcver %{rpmver}%{?snapver:-%{snapver}}
@@ -75,6 +75,7 @@ Patch906: rpm-4.7.1-geode-i686.patch
 Patch907: rpm-4.15.x-ldflags.patch
 
 # Not yet (all) upstream, debugedit DWARF5
+# https://code.wildebeest.org/git/user/mjw/rpm/log/?h=gcc-dwarf5-4.16.1.2
 Patch911: 0001-NFC-debugedit-Protect-macro-arguments-by-parentheses.patch
 Patch912: 0002-NFC-debugedit-Move-code-from-edit_dwarf2-to-edit_inf.patch
 Patch913: 0003-debugedit-Fix-missing-relocation-of-.debug_types-sec.patch
@@ -573,6 +574,9 @@ fi
 %doc doc/librpm/html/*
 
 %changelog
+* Fri Jan 22 2021 Mark Wielaard <mjw@fedoraproject.org> - 4.16.1.2-4
+- Fix edit_attributes_str_comp_dir in Patch916 (#1919107)
+
 * Tue Jan 19 2021 Jeff Law <law@redhat.com> - 4.16.1.2-3
 - Fix typo in test for F33 or newer
 

                 reply	other threads:[~2026-11-23  9:33 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=179542642444.1.4375913812729588544.rpms-rpm-d5b8c7b4cb60@fedoraproject.org \
    --to=mjw@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