public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Robert Scheck <robert@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/bird] f45: Remove upstreamed patch
Date: Mon, 30 Nov 2026 20:42:41 GMT	[thread overview]
Message-ID: <179607136198.1.12116660472569148081.rpms-bird-8ae028be46a7@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/bird
Branch : f45
Commit : 8ae028be46a7a877c363486f89b0f9b912a89a68
Author : Robert Scheck <robert@fedoraproject.org>
Date   : 2026-11-30T21:42:14+01:00
Stats  : +0/-30 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/bird/c/8ae028be46a7a877c363486f89b0f9b912a89a68?branch=f45

Log:
Remove upstreamed patch

---
diff --git a/bird-3.4.0-bytestr-overflow.patch b/bird-3.4.0-bytestr-overflow.patch
deleted file mode 100644
index 7afd2e6..0000000
--- a/bird-3.4.0-bytestr-overflow.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Test: Fix stack overflow in bt_fmt_bytestr()
-
-bt_fmt_bytestr() allocates len + 1 bytes but writes two hex digits
-per byte plus a terminating NUL, overflowing the alloca() buffer.
-The formatter runs for every test case, not only on failure. On
-x86_64, alloca's 16-byte rounding usually hides the overflow; on
-s390x it smashes the stack and t_bstrhextobin/t_bstrbintohex fail.
-
-Allocate 2 * len + 1 bytes and print with %02x, so every byte is
-exactly two digits (the old %hx also dropped leading zeros).
-
-Fixes: 3567ebc03 ("Lib: Add tests for strtoul.c")
-
---- bird-3.4.0/lib/strtoul_test.c			2026-10-12 08:04:16.000000000 +0000
-+++ bird-3.4.0/lib/strtoul_test.c.bytestr-overflow	2026-10-12 21:48:12.603991062 +0000
-@@ -201,11 +201,11 @@
-     return;
-   }
- 
--  char *tmp = allocz(data->len + 1);
-+  char *tmp = allocz(2 * data->len + 1);
-   char *t = tmp;
- 
-   for (int i = 0; i < data->len; i++)
--    t += bsprintf(t, "%hx", data->buf[i]);
-+    t += bsprintf(t, "%02x", data->buf[i]);
- 
-   snprintf(buf, size, "0x%s", tmp);
- }

diff --git a/bird.spec b/bird.spec
index f860828..3d37704 100644
--- a/bird.spec
+++ b/bird.spec
@@ -11,7 +11,6 @@ Source0:          https://bird.nic.cz/download/bird-%{version}.tar.gz
 Source1:          bird.service
 Source2:          bird.tmpfilesd
 Source3:          bird.sysusersd
-Patch0:           bird-3.4.0-bytestr-overflow.patch
 
 BuildRequires:    flex
 BuildRequires:    bison

                 reply	other threads:[~2026-11-30 20:42 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=179607136198.1.12116660472569148081.rpms-bird-8ae028be46a7@fedoraproject.org \
    --to=robert@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